News for hackers. Stuff that matters.
Re:Maya – Python Datetimes for Humans by Klathmon on Sunday December 18, 2016 @09:33AM (#13205904)
Honestly I feel like it would be easier to just have the "precision" of a date/time be adjustable.

Just off the top of my head, ISO8601 is already in the right order, just letting users "leave off" anything that's not important and then having a library interpret those "partial dates" as a range internally so it's easy to check identity or if one date is "in" another.

Re:Maya – Python Datetimes for Humans by BoppreH on Sunday December 18, 2016 @09:42AM (#13205937)
That's exactly what I meant. Omitted parts should not be treated as zeroes, but as "any".