@retr0id
"Hello I didn't mean 18:20:00+00:00 I specifically meant 18:20:00Z and I want the Z preserved"
statements dreamt up by the utterly deranged
@retr0id idk but my point is, a string representation preserves useless syntactical information that doesn't affect the meaning of the timestamp, and leaves more room for invalid values or parser confusion due to differing implementation details.
Who'd want any of that?
@retr0id and storing that as a pair of int64_t (ts, zone) and serializing to a normalized isoformat for interchange would've avoided that problem? Interesting....
@retr0id TZ matters for recurring events
@retr0id @wolf480pl some collaboration tools do stuff like "x sent y at 1pm (5pm their time)", which is somewhat useful.
@retr0id @wolf480pl this post inspired me to think up a truly cursed data format – binary ISO-8601.
version A (unholy combination): 59 bits unix timestamp, 1 bit timezone sign, 4 bits timezone hour offset
version B1 (actual 64-bit ISO-8601): 50 bits year, 4 month, 5 day, 1 timezone sign, 4 timezone hour offset
version B2 (ISO-8601 extended 64-bit equivalent): 1 bit year sign, 49 year, 4 month, 5 day, 1 timezone sign, 4 timezone hour offset
@retr0id t-there are? oh god
dates and time, every time
@retr0id minute, I missed it completely