]> git.kaiwu.me - njs.git/commit
Fixed parsing ISO 8601 format in Date.parse().
authorAndrey Zelenkov <zelenkov@nginx.com>
Wed, 19 Apr 2017 14:48:56 +0000 (17:48 +0300)
committerAndrey Zelenkov <zelenkov@nginx.com>
Wed, 19 Apr 2017 14:48:56 +0000 (17:48 +0300)
commit4f58fb12e31d8cc50e964c1c7f47ffd289b3c866
tree90006b5dc4134c112613bcc1eb2455570554d35b
parent753ebe65a4e182e21565aff639cd5799663d0484
Fixed parsing ISO 8601 format in Date.parse().

Fixed parsing in case milliseconds are not specified.
Added converting to local time in case "Z" suffix is not specified.
Also minor style fixes included.
njs/njs_date.c
njs/test/njs_unit_test.c