▲ 660 ▼ The perfect date (thelemmy.club) submitted 3 weeks ago by PopcornPrincess@lemmy.world to c/lemmyshitpost@lemmy.world 239 comments fedilink hide all child comments
[–] GreyEyedGhost@piefed.ca 16 points 3 weeks ago (2 children) RFC 3339 FTW! Open source, and no ambiguous options grandfathered in. permalink fedilink source parent hideshow 4 child comments replies: [–] bss03@infosec.pub 5 points 3 weeks ago Was looking for this. Yes. Whenever possible, dates should be specified in a format that is BOTH RFC 3339 and ISO 8601. I'd say both have their quirks, but the intersection of the grammars is machine-parseable and human-readable without (much) legacy baggage or (much) experimental / reserved-for-future-use noise. permalink fedilink source parent [–] The_Decryptor@aussie.zone 2 points 3 weeks ago Though the way it specifies raw UTC times is odd (8601 uses Z, 3339 uses -00:00), that got changed with RFC 9557 to align with 8601. It also supports "zoned date times", where instead of just using the UTC offset, you can also include a timezone identifier, e.g. 2020-01-01T00:00+01:00[Europe/Paris]. Useful if you're doing calculations on dates but can be ignored otherwise. permalink fedilink source parent
[–] bss03@infosec.pub 5 points 3 weeks ago Was looking for this. Yes. Whenever possible, dates should be specified in a format that is BOTH RFC 3339 and ISO 8601. I'd say both have their quirks, but the intersection of the grammars is machine-parseable and human-readable without (much) legacy baggage or (much) experimental / reserved-for-future-use noise. permalink fedilink source parent
[–] The_Decryptor@aussie.zone 2 points 3 weeks ago Though the way it specifies raw UTC times is odd (8601 uses Z, 3339 uses -00:00), that got changed with RFC 9557 to align with 8601. It also supports "zoned date times", where instead of just using the UTC offset, you can also include a timezone identifier, e.g. 2020-01-01T00:00+01:00[Europe/Paris]. Useful if you're doing calculations on dates but can be ignored otherwise. permalink fedilink source parent