News for hackers. Stuff that matters.
Re:EU to stop changing the clocks in 2019 by 0x0 on Monday September 17, 2018 @04:15PM (#18009617)
There's tons of legacy timezone pickers that bundle together cities like Amsterdam, Berlin, Brussels, etc etc... Often, users in smaller countries have to pick a neighboring country's capital city since their own is not listed.

I really hope countries who are currently sharing a time zone don't split ways, or computer clocks and calendars will be doomed to be "maybe off by one hour?" for a decade at least.

Re:EU to stop changing the clocks in 2019 by jpatokal on Monday September 17, 2018 @04:25PM (#18009716)
If you're handling timezones, and you're not using tz files, you deserve any pain heading your way. Timezone rules change constantly and trying to roll your own is disastrous. (And I say that in the grave baritone voice of personal experience.)

https://en.wikipedia.org/wiki/Tz_database

Re:EU to stop changing the clocks in 2019 by lgeorget on Monday September 17, 2018 @04:39PM (#18009862)
Tz is great indeed but what if you have to interface with code/devices not using it and relying on a static timezone database ?
Re:EU to stop changing the clocks in 2019 by scbrg on Tuesday September 18, 2018 @07:21AM (#18014229)
Well, the only workable solution for those is to never change any timezone again ever. According to the changelog of tzdata on my system any such device/code older than four months is fucked already.

I'm not sure it's reasonable to expect society to freeze because "assumptions in legacy code".

Re:EU to stop changing the clocks in 2019 by 0x0 on Monday September 17, 2018 @06:49PM (#18010787)
Obviously! But that doesn't help users of legacy systems!
Re:EU to stop changing the clocks in 2019 by lgeorget on Monday September 17, 2018 @04:37PM (#18009840)
Not to mention not really cleverly designed connected devices. I work with connected meteorological stations which use the local timezone where the station is installed instead of UTC to label their records...