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

Bug #1573364 reported by Jason Stephenson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
2.10
Fix Released
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.

Revision history for this message
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)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.