diff --git a/ChangeLog b/ChangeLog index 4e1cc82a1..95b7c19be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-21 Gary Burton + * src/DbManager.py: Localise revision last modification dates so that they + are presented the same as database last modification dates. + 2008-01-21 Benny Malengier * part 2 of workaround around bug http://bugzilla.gnome.org/show_bug.cgi?id=56070, make forward diff --git a/src/DbManager.py b/src/DbManager.py index 139a8988a..45fd6d126 100644 --- a/src/DbManager.py +++ b/src/DbManager.py @@ -890,7 +890,6 @@ def time_val(dirpath): if os.path.isfile(meta): tval = os.stat(meta)[9] last = time.strftime('%x %X', time.localtime(tval)) - #last = time.strftime('%a %b %d %X %Y', time.localtime(tval)) else: tval = 0 last = _("Never") @@ -941,8 +940,8 @@ def find_revisions(name): continue match = date.match(line) if match: - date_str = time.asctime(time.strptime(match.groups()[0], - '%Y-%m-%d %H:%M:%S')) + date_str = time.strftime('%x %X', + time.strptime(match.groups()[0], '%Y-%m-%d %H:%M:%S')) get_next = True continue