Track_Shovel to Lemmy ShitpostEnglish • 3 months agoPerspectiveslrpnk.netimagemessage-square28fedilinkarrow-up11.16Karrow-down16cross-posted to: [email protected]
arrow-up11.16Karrow-down1imagePerspectiveslrpnk.netTrack_Shovel to Lemmy ShitpostEnglish • 3 months agomessage-square28fedilinkcross-posted to: [email protected]
minus-squareCarllinkfedilink4•3 months agoI prefer writing it out as DD MM YYYY, but i like my computer to sort everything by YYYY MM DD.
minus-squareKaryoplasmalinkfedilink9•3 months 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.