Vertretungsapp / indiware-api

👾 A fully-typed wrapper for the Indiware API, used by Vertretungsapp
https://www.npmjs.com/package/indiware-api
Apache License 2.0
0 stars 0 forks source link

PlannedLessons are getting wrong start and endTimes #23

Open SachsenspieltCoding opened 10 months ago

SachsenspieltCoding commented 10 months ago

When parsing a plannedLesson, the start and end date shouldn't be relative to the current date when parsing the plan, but using the actual date of the plan

https://github.com/Vertretungsapp/indiware-api/blob/eefbe1528b14f8b79e8aef7452591e23425647b8/src/parser/plannedLesson.ts#L25-L26