Email or username:

Password:

Forgot your password?
Top-level
Jonathan Müller

@jschauma I find it interesting that it doesn't display the "correct" dates in the early 1900s as you'd expect from a naive overflow.

Maybe the date formatting library clamps negative times to 0?

2 comments
Tor Iver Wilhelmsen

@foonathan @jschauma that would make it hard to express dates pre-1970 though.

Fabian ¯\_(ツ)_/¯

@foonathan @jschauma maybe the logic encounters an error/exception somewhere and just returns a plain date object with default values.

Go Up