News for hackers. Stuff that matters.
Re:Why are 2025/05/28 and 2025-05-28 different days in JavaS... by saltcured on Wednesday May 28, 2025 @01:08PM (#44118200)
Or if you really want to be future proof, store the geolocation so you can try to figure out the jurisdiction for any changing regulations. Maybe they didn't change the date of the switch, but changed the timezone boundary on the map.

But, then I guess we might need to account for fractured societies and actually store some kind of organizational code for which belief system the event author adheres to? :-)

Re:Why are 2025/05/28 and 2025-05-28 different days in JavaS... by dotancohen on Wednesday May 28, 2025 @05:05PM (#44120644)
You jest, but there are three calendars in active daily use in close enough proximity to me that it is not unheard of for mistakes to happen. Especially in the evening, as not all calendars start the new day at the same hour!