Project

Profile

Help

Bug #2796

closed

JS: xs:date() can modify timezone for pure dates

Added by John Lumley over 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Low
Category:
-
Sprint/Milestone:
-
Start date:
2016-06-14
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
0.9
Fix Committed on JS Branch:
0.9
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

Atomic.js - dateTimeFromString("1993-03-31") returns a date of 1993-03-30 at least in BST! (Internally it generates 1993-03-30T23:00:00Z). Unsure whether this behaviour is correct, but at least one QT3 test (op-concatentate-mix-args-013) assumes the string value should be 1993-03-31

Please register to edit this issue

Also available in: Atom PDF Tracking page