mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-30 22:56:36 +00:00
To use JS's Date creation from string, I moved the TimeInfo formatting code above the toTime proc declaration. Also, I changed the argument type for newDate from string to cstring for it to work.