]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/utime: don't pass %z to utime if there is a 'Z'
authorSage Weil <sage@redhat.com>
Fri, 24 May 2019 22:09:53 +0000 (17:09 -0500)
committerSage Weil <sage@redhat.com>
Wed, 29 May 2019 19:12:15 +0000 (14:12 -0500)
commit1d1c4782eea1fac0e9230ed5ac32b19517fdd616
tree9ffb43323c78dc6778e8124bf200999351682dad
parente24cd6bf3ed10f2d583579e7e0a6506f15cae907
common/utime: don't pass %z to utime if there is a 'Z'

This fails on centos 7 for some reason.

If it's UTC, we don't need to parse the tz portion, so avoid the issue by
leaving the %z out of the fmt string.

Signed-off-by: Sage Weil <sage@redhat.com>
src/include/utime.h