Try to use correct timezone in dates.
authorCarl Hetherington <cth@carlh.net>
Fri, 16 Aug 2013 11:28:09 +0000 (12:28 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 16 Aug 2013 11:28:09 +0000 (12:28 +0100)
src/metadata.cc

index 2967ac1ddf0183a437b9112b48b7847db7027cf5..fe883c9473f4c9c24372b91fc98cae4abb6a6200 100644 (file)
@@ -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);
 }