mirror of
https://github.com/ceph/ceph
synced 2024-12-28 14:34:13 +00:00
rgw-admin: use correct modifier with strptime
Bug #2658: used %I (12h) instead of %H (24h) Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
This commit is contained in:
parent
da251fe885
commit
35b9ec881a
@ -526,7 +526,7 @@ static void parse_date(string& date, uint64_t *epoch, string *out_date = NULL, s
|
||||
if (p) {
|
||||
if (*p == ' ') {
|
||||
p++;
|
||||
strptime(p, " %I:%M:%S", &tm);
|
||||
strptime(p, " %H:%M:%S", &tm);
|
||||
}
|
||||
} else {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user