11
kappekp
6y

@zombieleet .. nuff said

Comments
  • 1
    First date is in (some kind of weird) locale format so it's converted to a date in the local time zone.

    Second is in ISO so it's treated as UTC, but it's written out in local time.
  • 1
    As a Python dev I also love how there is no sane way to represent Date in some format. I mean, I get it, you can d.day+"/"+d.month+"/"+d.year, but why the hell there is no d.format("D/M/Y" or something like that? They make a ton of shitty JS frameworks and still when I google "js date string formatting" the first thing is toLocaleDateString that is so unintuitive to me that the concatenation makes more sense...
  • 0
    Americana vs everyone elses
Add Comment