Track_Shovel to Lemmy [email protected]English • 1 month agoPerspectiveslrpnk.netimagemessage-square28fedilinkarrow-up11.16Karrow-down16cross-posted to: [email protected]
arrow-up11.15Karrow-down1imagePerspectiveslrpnk.netTrack_Shovel to Lemmy [email protected]English • 1 month agomessage-square28fedilinkcross-posted to: [email protected]
minus-squareCarllink4•30 days agoI prefer writing it out as DD MM YYYY, but i like my computer to sort everything by YYYY MM DD.
minus-squareKaryoplasmalinkfedilink9•30 days agoYYYY-MM-DD is the ISO standard for that exact reason. It sorts chronologically without having to implement a custom comparator, regular string comparison is enough.
Some countries use YYYY MM DD which is also sane.
YYYY-MM-DD is the only sane format.
%s is cool as well in my opinion.
I prefer writing it out as DD MM YYYY, but i like my computer to sort everything by YYYY MM DD.
YYYY-MM-DD is the ISO standard for that exact reason. It sorts chronologically without having to implement a custom comparator, regular string comparison is enough.