Add ISO8601 date format (yyyy-MM-dd) to parseIso8601 utility function.

This commit is contained in:
Jonathan Bernard 2023-02-28 23:25:44 -06:00
parent f4e392f910
commit a9308cbaf3
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ import times
const zeroTime = fromUnix(0)
const ISO_8601_FORMATS = @[
"yyyy-MM-dd",
"yyyy-MM-dd'T'HH:mm:ssz",
"yyyy-MM-dd'T'HH:mm:sszzz",
"yyyy-MM-dd'T'HH:mm:ss'.'fffzzz",

View File

@ -1,6 +1,6 @@
# Package
version = "0.5.3"
version = "0.5.4"
author = "Jonathan Bernard"
description = "Utility methods to fill in the lacking time support in Nim\'s stdlib."
license = "BSD3"