WebUntis icon indicating copy to clipboard operation
WebUntis copied to clipboard

Question: TimeZone

Open 0xIO32 opened this issue 5 months ago • 0 comments

Here it converts the javascript "Date" object into the untis format as string: https://github.com/SchoolUtils/WebUntis/blob/51576aaeda7af7ec47c818ab22a0e434b6fcb148/src/base.ts#L803-L814

"Date" in javascript uses the local time, not utc. Afaik, I haven't seen a timezone being transmitted to webuntis.

Is the timezone assuming utc or is the timezone set by the school?

0xIO32 avatar Jul 12 '25 18:07 0xIO32