News for hackers. Stuff that matters.
Re:Temporal: Getting started with JavaScript's new date time... by funcDropShadow on Tuesday June 29, 2021 @08:38AM (#27674963)
Unless there is a leap second scheduled on short notice or you install the updated tz database rather late. For astronomical events or long term measurements (think CERN) there is astronomical time, which does not add leap seconds.

But if you want to have precise date time far in the future you must not use UTC based milliseconds representations unless you want to check for necessary database migrations every time the time zone definitions change.

Re:Temporal: Getting started with JavaScript's new date time... by mulmen on Tuesday June 29, 2021 @05:09PM (#27681767)
If you store zoned time in UTC then the zones or UTC change then the time can be formatted correctly in the future.

My point in mentioning the solstice is that while some events are at “2pm”, others are “when something happens”.

Sure, UTC is not suitable for conducting astronomy. It is suitable for working with human friendly times, since it is the foundation of timezones.