SyoTimer
SyoTimer copied to clipboard
UTC+01
Hey
First thanks for your script!
Have a little Problem with the date and timeline zone.
I pass the the day and hour with java variables.
$("#periodic-timer_timezone_given").syotimer({ date: new Date("${day}T${hour}:00.000+01:00"),
Everything is ok.
But in Summertime it should be -02:00 and Wintertime this: -01:00
Is there a way to change it inside your script?
Hello
If you have a date and time for the UTC+0 timezone, try create a Date object using ISO format:
new Date("${date}T${time}:00.000Z")
The timezone and summer/winter time should be taken into on the user's browser side in accordance with the OS settings