egDate unit test fails on time change boundary
Bug #1671904 reported by
Bill Erickson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Low
|
Unassigned |
Bug Description
Evergreen 2.12.
'grunt test' reports:
egDate
✗ should parse a simple interval
Expected 169200 to be 172800.
The failing test is:
expect(
==
When crossing time-change boundaries, "2 days" will not be equal to 48-hours worth of seconds. Patch coming that accepts 47, 48, and 49 hours worth of seconds as valid values.
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ berick/ lp1671904- egdate- unit-test- time-change