Skip to content

Commit

Permalink
try to solve (Try: 006)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmielchen committed Mar 12, 2023
1 parent 3fb4f55 commit 2bc182d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ fun Timetable.getCalender() : Calendar
name = lesson.subjects.longNames[0]
} catch (_ : Exception) { }
val event = VEvent(
Date(Date.from(lesson.startTime.atDate(lesson.date).atZone(ZoneId.of(Config.timezone)).toInstant())),
Date(Date.from(lesson.endTime.atDate(lesson.date).atZone(ZoneId.of(Config.timezone)).toInstant())),
DateTime(Date.from(lesson.startTime.atDate(lesson.date).atZone(ZoneId.of(Config.timezone)).toInstant())),
DateTime(Date.from(lesson.endTime.atDate(lesson.date).atZone(ZoneId.of(Config.timezone)).toInstant())),
name
)
try
Expand Down

0 comments on commit 2bc182d

Please sign in to comment.