Hacker News new | ask | show | jobs
by peoplefromibiza 1601 days ago
> IE, web component where you can set a format string and then the browser renders it substituting the info it has?

you can easily detect this

    - please display this localdatetime as a string
    - read it back and parse it
    - are they (almost) exactly multiples of 60 minutes apart?
    - if yes it's most probably your timezone
1 comments

Do apps really need to read back strings they omitted?
they don't, but they can and by doing it they can check if the date has been changed by the browser because of time zone shift.