runnerup
runnerup copied to clipboard
Fix manual entry of time
Do not use (new Date()) to get the timezone offset from, but the date that was actually entered: d. This fixes the problem that the entered time was later reported as one hour later when DST was active at the current location.
This should fix #980.
Could work
I have changed the request even more after I realized that the old approach still had problems across different time zones, e.g. if "today" is within DST, but the entered date was not. The new approch deals with that and should be even more readable than the old.
thanks