Track_Shovel@slrpnk.net to Lemmy Shitpost@lemmy.worldEnglish · 1 个月前Perspectiveslrpnk.netimagemessage-square26fedilinkarrow-up11.12Kcross-posted to: nonpolitical_memes@lemmy.ml
arrow-up11.12KimagePerspectiveslrpnk.netTrack_Shovel@slrpnk.net to Lemmy Shitpost@lemmy.worldEnglish · 1 个月前message-square26fedilinkcross-posted to: nonpolitical_memes@lemmy.ml
minus-squareℍ𝕂-𝟞𝟝@sopuli.xyzlinkfedilinkEnglisharrow-up31·30 天前Some countries use YYYY MM DD which is also sane.
minus-squareCarl@sh.itjust.workslinkfedilinkarrow-up4·30 天前I prefer writing it out as DD MM YYYY, but i like my computer to sort everything by YYYY MM DD.
minus-squareKaryoplasma@discuss.tchncs.delinkfedilinkarrow-up9·30 天前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.
Also the civilized world.
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.