projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dd8918
)
Try to use correct timezone in dates.
author
Carl Hetherington
<cth@carlh.net>
Fri, 16 Aug 2013 11:28:09 +0000
(12:28 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 16 Aug 2013 11:28:09 +0000
(12:28 +0100)
src/metadata.cc
patch
|
blob
|
history
diff --git
a/src/metadata.cc
b/src/metadata.cc
index 2967ac1ddf0183a437b9112b48b7847db7027cf5..fe883c9473f4c9c24372b91fc98cae4abb6a6200 100644
(file)
--- 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);
}