Skip to content

Instantly share code, notes, and snippets.

@jmcnevin
Created October 26, 2015 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmcnevin/a6fd894f0ea05afa2dc0 to your computer and use it in GitHub Desktop.
Save jmcnevin/a6fd894f0ea05afa2dc0 to your computer and use it in GitHub Desktop.
Weird time/timeinfo behavior
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