aboutsummaryrefslogtreecommitdiff
path: root/ovsdb
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-07-02 09:12:13 -0700
committerBen Pfaff <blp@nicira.com>2012-07-02 09:12:13 -0700
commit3123c8fda5f5ffa2e989eec780db438dc34bb0d0 (patch)
treef7164f53b0c3b16fec7196fad51aaca83d7ea9fd /ovsdb
parent908ff19af7ab2b6e0a865bcf566aaa47e32889ff (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.c2
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);
}