changeset 8125:da9f3866c637

convert/mtn: mtn does not record timezones, mark dates as UTC (issue1624)
author Paul Aurich <paul@darkrain42.org>
date Thu, 23 Apr 2009 08:45:44 +0200
parents d883bfbd2e60
children 13b36eb14324
files hgext/convert/monotone.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/monotone.py	Wed Apr 22 10:25:05 2009 +0200
+++ b/hgext/convert/monotone.py	Thu Apr 23 08:45:44 2009 +0200
@@ -107,7 +107,8 @@
                 value = value.replace(r'\\', '\\')
                 certs[name] = value
         # Monotone may have subsecond dates: 2005-02-05T09:39:12.364306
-        certs["date"] = certs["date"].split('.')[0]
+        # and all times are stored in UTC
+        certs["date"] = certs["date"].split('.')[0] + " UTC"
         return certs
 
     # implement the converter_source interface: