]> git.kaiwu.me - njs.git/commit
Fixed Date.parse() with ISO-8601 date-only forms.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 13 Jun 2023 03:51:54 +0000 (20:51 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 13 Jun 2023 03:51:54 +0000 (20:51 -0700)
commit6eb71deff3f2239fb9567f155c5b6b4ae758f398
tree623fac422a3a428e3edcd4cbd82abc20eb263152
parent28e838841d1b5bf2ad63e2839c497d629822f51f
Fixed Date.parse() with ISO-8601 date-only forms.

According to the spec when the UTC offset representation is absent,
date-only forms are interpreted as a UTC time and date-time forms
are interpreted as a local time.
src/njs_date.c
src/test/njs_unit_test.c