]> git.kaiwu.me - njs.git/commit
Improved time zone tests for Date object.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 2 Oct 2018 17:34:30 +0000 (20:34 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 2 Oct 2018 17:34:30 +0000 (20:34 +0300)
commit39cbd777a810e1d3c6b1fb4eac649665c40be2a5
tree58dc558f0fd2047fcfdd5723a9a6ca71a9547399
parentcdc15c2aa575ecb258362c7a404fd56e83ee12d0
Improved time zone tests for Date object.

On some platforms, for example Alpine Linux, non-UTC timezones are
unavailable.

The fix is to use UTC timezone by default, and use a separate test suite
for the original timezone if it is available.
njs/test/njs_unit_test.c