diff options
author | Ben Pfaff <blp@nicira.com> | 2012-07-02 09:12:13 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-07-02 09:12:13 -0700 |
commit | 3123c8fda5f5ffa2e989eec780db438dc34bb0d0 (patch) | |
tree | f7164f53b0c3b16fec7196fad51aaca83d7ea9fd /ovsdb | |
parent | 908ff19af7ab2b6e0a865bcf566aaa47e32889ff (diff) |
Use UTC consistently instead of local timezone.
Signed-off-by: Arun Sharma <arun.sharma@calsoftinc.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ovsdb')
-rw-r--r-- | ovsdb/ovsdb-tool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ovsdb/ovsdb-tool.c b/ovsdb/ovsdb-tool.c index f6809896..f5412f36 100644 --- a/ovsdb/ovsdb-tool.c +++ b/ovsdb/ovsdb-tool.c @@ -513,7 +513,7 @@ do_show_log(int argc, char *argv[]) time_t t = json_integer(date); char s[128]; - strftime(s, sizeof s, "%Y-%m-%d %H:%M:%S", localtime(&t)); + strftime(s, sizeof s, "%Y-%m-%d %H:%M:%S", gmtime(&t)); printf(" %s", s); } |