mirror of
https://github.com/nim-lang/Nim.git
synced 2026-05-16 02:04:27 +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.