Merge pull request #144 from kolplattformen/fix/schedule-not-being-loaded

fix: 🐛 Fixes schedule
This commit is contained in:
Viktor Sarström 2021-09-10 22:16:17 +02:00 committed by GitHub
commit 7f93285554
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ const calculateDate = (year: number, weekNumber: number, weekday: number, time:
const [hours, minutes, seconds] = time.split(':')
return DateTime.local()
.set({
year,
weekYear: year,
weekNumber,
weekday,
hour: parseInt(hours, 10),