News for hackers. Stuff that matters.
Re:Temporal: Getting started with JavaScript's new date time... by BurningFrog on Monday June 28, 2021 @10:13PM (#27670910)
Those are timestamps, not dates.

Each of them fall on two separate dates, depending on time zone.

Re:Temporal: Getting started with JavaScript's new date time... by drenvuk on Monday June 28, 2021 @11:56PM (#27671591)
This is why dates are such an issue.

A timestamp is the number of seconds or milliseconds or units like 1624938650 seconds from epoch UTC. What I posted above are human parseable datetimes in ISO 8601. Each of them is a point in time that depending on the locale and tz fall on two separate dates but the most important aspect is that it doesn't matter whether I'm using them in my DB or on a user's machine in a different locale and tz. That's the point.

Re:Temporal: Getting started with JavaScript's new date time... by BurningFrog on Tuesday June 29, 2021 @04:46PM (#27681494)
I don't think we disagree?