News for hackers. Stuff that matters.
Re:RFC 3339 vs. ISO 8601 by jiehong on Thursday August 31, 2023 @02:02PM (#37341269)
In the calendar world (iCal), this is actually supported: a date time without a time one is a local time only [0].

[0]: https://www.rfc-editor.org/rfc/rfc5545#section-3.3.5

Re:RFC 3339 vs. ISO 8601 by Karellen on Thursday August 31, 2023 @02:31PM (#37341750)
But if I send that to someone who is in a different timezone, e.g. in America/New_York, will it put the event at 6pm London Time in their calendar, so that they can videocall in at whatever time that is where they are?
Re:RFC 3339 vs. ISO 8601 by michaelt on Thursday August 31, 2023 @04:05PM (#37342979)
The ical format allows dates like DTSTART;TZID=Europe/London:20230901T201000

Whether your calendar software will let you choose how it expresses the timezone and whether the recipient's calendar software will store it that way is another question...

Re:RFC 3339 vs. ISO 8601 by nightpool on Thursday August 31, 2023 @04:38PM (#37343386)
Google Calendar does, at least. It even supports representing events that being and end in different timezones (like a plane flight or a cross country trip)
Re:RFC 3339 vs. ISO 8601 by codetrotter on Thursday August 31, 2023 @02:08PM (#37341379)
Yup. Similarly with the time zone aware Rust crate “chrono” you also have datetime representations for local time called “naive” datetime to store date time without time zone.

And likewise in PostgreSQL you can store timestamp without time zone.

Combine that representation with lat/long gps coordinates and you have what you need for scheduling future events at specific locations regardless of changes in time zone names and offsets.

Re:RFC 3339 vs. ISO 8601 by wrs on Thursday August 31, 2023 @02:18PM (#37341523)
Not quite — that requires you to find the time zone locality out of band somehow. The request is to have a standard way to store the time zone (not the current offset of the time zone) in the same string as the date/time.
Re:RFC 3339 vs. ISO 8601 by fanf2 on Thursday August 31, 2023 @03:43PM (#37342695)
As well as what wrs said in a sibling comment, iCalendar does not have a way to specify the location of a meeting in a machine-readable way that can be turned into the timezone for that location.

Sadly, iCalendar is very much tied to using timezones for locations. I expect that if/when Europe finally gets round to abolishing DST, there will be some significant changes to the timezone boundaries, and as a consequence, much hilarious calendaring failure. Dunno if it will affect as many people as the 2007 DST changes in North America, which caused a lot of extra work for people running Microsoft Exchange, because it was designed assuming that timezones never change. And this design error carries over to iCalendar, tho (apart from tz boundary changes) it is better than it was.