In JavaScript it would be February 2.
Comment on Perspective
Mammothmothman@lemmy.ca 2 months ago
Libre Office: the glass is Feb 1st
IvanOverdrive@lemm.ee 2 months ago
wander1236@sh.itjust.works 2 months ago
In JavaScript it would be “true” for some reason
MHanak@lemmy.world 2 months ago
I am almost sure 1/2 is indeed true
Rolive@discuss.tchncs.de 2 months ago
Also the civilized world.
HK65@sopuli.xyz 2 months ago
Some countries use YYYY MM DD which is also sane.
grue@lemmy.world 2 months ago
YYYY-MM-DD is the only sane format.
datelmd5sum@lemmy.world 2 months ago
%s is cool as well in my opinion.
CanadianCarl@sh.itjust.works 2 months ago
I prefer writing it out as DD MM YYYY, but i like my computer to sort everything by YYYY MM DD.
Karyoplasma@discuss.tchncs.de 2 months ago
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.