(no title)
sidstling | 7 years ago
I’m probably a little old fashioned, but I didn’t even know moment existed and I’ve been fooling around quite a bit with JS dates recently. It didn’t take a long time to write the .ToString(dd-MM-yyyy) module, that was the only thing I really needed aside from the standard library, but I guess it would’ve been faster to import moment.js.
ivanhoe|7 years ago
FlorianRappl|7 years ago
TL;DR: Goes way beyond standard formatting.
Sacho|7 years ago
noonespecial|7 years ago
guitarbill|7 years ago
(moment.js supports a huge number of localizations, which is impressive and good for i18n. so in this case maybe it isn't directly comparable to copy&paste for anything but trivial use-cases.)