Created
October 26, 2015 19:15
-
-
Save jmcnevin/a6fd894f0ea05afa2dc0 to your computer and use it in GitHub Desktop.
Weird time/timeinfo behavior
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import times | |
var x = parse("1900-01-01", "yyyy-MM-dd") | |
echo($x) | |
echo($x.timeInfoToTime()) | |
... | |
Wed Jan 1 00:00:00 1900 | |
Wed Dec 31 17:59:59 1969 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment