fault/fm-common
Kristine Bujold e5803f2a5d Fix alarms issues on non-UTC systems
This fixes two issues
-Alarm clear time incorrectly reported on non-UTC systems.
-Paused instances do not display the correct alarm timestamp in
non-UTC systems.

The mktime call that's made in fm_db_util_get_timestamp uses the local
tz in it's calculation. It assumes the incoming time is also in the
local time. When mktime is provided with a value in UTC we see the error
presented in this bug.

Change-Id: Iaf8d097e2dfdfae585b6976e02a85b9e2f1b19f9
Closes-Bug: 1828448
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2019-05-31 10:14:32 -04:00
..
centos Fix alarms issues on non-UTC systems 2019-05-31 10:14:32 -04:00
sources Fix alarms issues on non-UTC systems 2019-05-31 10:14:32 -04:00
.gitignore StarlingX open source release updates 2018-05-31 07:36:00 -07:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:36:00 -07:00