Email or username:

Password:

Forgot your password?
Top-level
Григорий Клюшников

As a mainly java developer: how on earth could a date parser not take a format specification? Does it, like, guess what the format is?

2 comments
Darius Kazemi

@grishka It does in fact guess the format if it's not ISO 8601. And since it's guessing, it assumes local time zone. No, there is no way to pass in a UTC offset and say "give me this one".

developer.mozilla.org/en-US/do

Daniel Cassidy 🦌

@grishka @darius Uhh which language do you think JavaScript borrowed its broken Date type from?

Go Up