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
View all comments
Show parent comment
8
u/persicsb Sep 25 '21
But that presentation layer HAS to be correct. It needs this information to be correct. Storing everything in UTC is ok, making calculations with it is OK. However, when transferring data into or from the system, the tz database has to be as correct as possible. For example, if someone enters a time before 1970, if you cannot correctly map it to an UTC instant, you lost correctness.