openquake --version info should use UTC time

Bug #825120 reported by Lars Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
Medium
Lars Butler

Bug Description

This CI test failure: http://ci.openquake.org/job/openquake/86/testReport/junit/tests/VersionInfoTestCase/test_info_with_all_data_in_place/

The reason why this test failed is because the CI server is running in a different timezone (most of the developers are in Central European Time).

Using datetime.utcfromtimestamp instead of datetime.fromtimestamp should be an appropriate fix. See: https://github.com/gem/openquake/blob/master/openquake/utils/version.py#L65

Changed in openquake:
status: New → Confirmed
assignee: nobody → Lars Butler (lars-butler)
importance: Undecided → Medium
milestone: none → 0.4.3
Changed in openquake:
status: Confirmed → Fix Committed
Changed in openquake:
status: Fix Committed → Fix Released
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.