Live Test 11-lp1481036-future-backdate.t fails within "offset" hours of midnight

Bug #1573364 reported by Jason Stephenson on 2016-04-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Medium
Unassigned
2.10
Medium
Unassigned

Bug Description

Because no time zone is set when calculating the $ymd variable in test 3 of the 11-lp1481036-future-backdate.t file fails if run within your UTC offset hours of local midnight. The reason for this is $ymd is calculated using UTC and it is already tomorrow while the checkin_date is calculated using local time.

Forthcoming branch will resolve this by using the local time zone.

Ben Shum (bshum) wrote :

Grabbed Jason's fix branch from working, tests function now, pushed to master and backported to rel_2_10.

Changed in evergreen:
milestone: none → 2.next
status: New → Fix Committed
Galen Charlton (gmc) on 2016-04-28
Changed in evergreen:
importance: Undecided → Medium
Changed in evergreen:
status: Fix Committed → Fix Released
Changed in evergreen:
milestone: 2.next → 2.11-alpha
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers