Dates should always be represented with as much context as possible in transit & storage. Don't give me a date like "Mar 16" please
@brainblasted Certainly storing them as anything but ISO 8601 is a Bad Ideaβ’.
The only numeric cases I can think of are databases where you might want numeric indexing (but still keeping various parts separate). Governments have a nasty habit of retroactively changing time and it makes things quite difficult.
@brainblasted I'm in the middle of re-writing my site in a (bespoke) static site generator in Swift and my storage of publication time is human readable string ala β13. September 2025β, and I just had to implement a custom date type to parse it within Swift's decodable framework.
That said, I wouldn't do this in like production code (and I wouldn't really use Swift of all things for this purpose anyway). π