summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-08-16 12:28:09 +0100
committerCarl Hetherington <cth@carlh.net>2013-08-16 12:28:09 +0100
commite56a0a8c8a8c428ccddbd5d39fce9ff024a3ab85 (patch)
tree0807fe20e0606c06e39fc86adbfc2bf458521a9f
parent3dd89182b9b797d14d0f56f1770524480043c2bf (diff)
Try to use correct timezone in dates.
-rw-r--r--src/metadata.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/metadata.cc b/src/metadata.cc
index 2967ac1d..fe883c94 100644
--- a/src/metadata.cc
+++ b/src/metadata.cc
@@ -50,7 +50,7 @@ XMLMetadata::set_issue_date_now ()
time_t now;
time (&now);
struct tm* tm = localtime (&now);
- strftime (buffer, 64, "%Y-%m-%dT%I:%M:%S+00:00", tm);
+ strftime (buffer, 64, "%Y-%m-%dT%I:%M:%S%z", tm);
issue_date = string (buffer);
}