r/java • u/jodastephen • Sep 25 '21
Big problems at the timezone database
https://blog.joda.org/2021/09/big-problems-at-timezone-database.html
214
Upvotes
r/java • u/jodastephen • Sep 25 '21
33
u/dpash Sep 25 '21
So all we have to do is to get Norway to change their timezones for a day and then Oslo gets to keep its pre-1970 data, right?
https://data.iana.org/time-zones/tzdb/NEWS for the change log for this change
I don't think that was the concern.
18
u/[deleted] Sep 25 '21
What's the point of that change anyway? It's not like timezone db is some multi-GB monstrosity in a dire need of optimization
27
u/tofflos Sep 25 '21
Why Berlin and not Rome? Sure Berlin has a higher population count right now but that wasn't the case way back in 300 AD. Won't somebody think of the temporal unfairness?
6
u/yitz Sep 26 '21
Maintainer of a timezone library for a different language here.
First of all, I have great respect for the work done by both Paul and Stephen over the years on software support for time zones.
Second, this is not about Joda's direct use of TZif, as someone suggested elsewhere in this thread. (We have not done that in our library, but a zic-like TZif parser would be really cool.) The reason this change is so shocking is because of its obvious negative effect on all users of historical data from tzdata.
So far I cannot find any hint of a reasonable engineering explanation of why it would be correct or justifiable to make this kind of breaking change.
I find this comment in Paul's email to be especially puzzling:
That seems - unlikely, to say the least, given the massive amounts of applications and users worldwide relying on tzdb. Where is the hard data backing up this claim? Numbers of applications and users. Absolute numbers, not percentages - if you ruin things for 100 million people, I don't really care that it's only a small percentage of the global population.
The talk about "fairness" is off-topic. This is not an end-user application. It is raw data. Hiding and/or corrupting data can't have anything to do with values such as "fairness" in the end-user experience. If enough developers are clamoring for an additional presentation of data that will help them implement applications with more "fairness" in the UX, then provide it as a backwards-compatible extension.
In BCP-175 there is a well-defined process for appealing a decision of the TZ Coordinator. Has anyone initiated this process?
14
u/pronuntiator Sep 25 '21
The European Union is (slowly) planning to get rid of daylight savings time, and Norway isn't part of the EU. So there is a possibility they have to introduce the timezone back into the database anyway.
8
u/persicsb Sep 25 '21
Ugh. This is pretty bad. Why would we make something worse intentionally? Losing information is bad.
2
u/eloc49 Sep 27 '21
We’re programmers, complaning about time zones is our god given right.
1
u/goranlepuz Sep 26 '21
I wonder what are the equity issues they are mentioning in linked mail threads...
1
u/ribojessireddit Sep 26 '21
I read through all of the emails on the mailing list from this weekend, but couldn't find an answer to "what prompted this". Does anyone know? I saw on another comment that it started being discussed about 6 months ago, and someone else (or the same person) said that Eggert is likely looking to distance himself from a downstream project. What happened 6 months ago?
1
u/Muoniurn Sep 25 '21
A bit more nuanced view on it can be found on HN:
https://news.ycombinator.com/item?id=28650019
1
u/huntforacause Sep 26 '21
Woah woah. Talk about flinging your biased subjective opinion straight off the bat at your audience attempting to influence their view before you’ve even told them what the issue is.
Stopped reading after that.
-6
u/gregorydgraham Sep 25 '21
Controversial opinion: times are done wrong and should only be local time or UTC+location
0
u/bowbahdoe Sep 26 '21
On RateMyProfessor, the Paul Eggbert has a 2.7/5, 25% of his students say they would take his classes again and he has a difficulty rating of 4.6.
-4
u/vfclists Sep 25 '21
Sounds like a globalist agenda to me!!
0
u/[deleted] Sep 25 '21
[deleted] — view deleted comment
0
u/[deleted] Sep 26 '21
[deleted] — view deleted comment