Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateHelper can't parse correctly time with milliseconds #501

Closed
SergeyMaltsev opened this issue Apr 1, 2020 · 0 comments
Closed

DateHelper can't parse correctly time with milliseconds #501

SergeyMaltsev opened this issue Apr 1, 2020 · 0 comments
Assignees
Labels
bug Something isn't working forum Issues from forum high-priority Urgent to have fixed resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@SergeyMaltsev
Copy link
Contributor

SergeyMaltsev commented Apr 1, 2020

Reported here
https://www.bryntum.com/forum/viewtopic.php?f=44&t=13649

Time is not correctly parsed for format 2020-02-29T13:00:00.0 or 2020-03-08T20:38:56.122814 for timezones which have DST shifts.

Add test coverage for all formats below

DateHelper.parse('2020-02-29T13:00:00') => Sat Feb 29 2020 13:00:00 GMT+0100 (CET)
DateHelper.parse('2020-02-29T13:00:00Z') => Sat Feb 29 2020 14:00:00 GMT+0100 (CET)
DateHelper.parse('2020-02-29T13:00:00.0') => Sat Feb 29 2020 12:00:00 GMT+0100 (CET)
DateHelper.parse('2020-02-29T13:00:00.0Z') => Sat Feb 29 2020 14:00:00 GMT+0100 (CET)
@SergeyMaltsev SergeyMaltsev added bug Something isn't working forum Issues from forum labels Apr 1, 2020
@matsbryntse matsbryntse added this to the Grid 3.1.2 milestone Apr 3, 2020
@SergeyMaltsev SergeyMaltsev added the high-priority Urgent to have fixed label Apr 6, 2020
@matsbryntse matsbryntse modified the milestones: Grid 3.1.2, Grid 3.1.3 Apr 17, 2020
@SergeyMaltsev SergeyMaltsev self-assigned this May 11, 2020
@SergeyMaltsev SergeyMaltsev added in progress ready for review Issue is fixed, the pull request is being reviewed resolved Fixed but not yet released (available in the nightly builds) and removed in progress ready for review Issue is fixed, the pull request is being reviewed labels May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum high-priority Urgent to have fixed resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

2 participants