2008-01-21 Gary Burton <gary.burton@zen.co.uk>
* src/DbManager.py: Localise revision last modification dates so that they are presented the same as database last modification dates. svn: r9904
This commit is contained in:
parent
cf7e05dffa
commit
88ad5f7133
@ -1,3 +1,7 @@
|
|||||||
|
2008-01-21 Gary Burton <gary.burton@zen.co.uk>
|
||||||
|
* 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 <benny.malengier@gramps-project.org>
|
2008-01-21 Benny Malengier <benny.malengier@gramps-project.org>
|
||||||
* part 2 of workaround around bug
|
* part 2 of workaround around bug
|
||||||
http://bugzilla.gnome.org/show_bug.cgi?id=56070, make forward
|
http://bugzilla.gnome.org/show_bug.cgi?id=56070, make forward
|
||||||
|
@ -890,7 +890,6 @@ def time_val(dirpath):
|
|||||||
if os.path.isfile(meta):
|
if os.path.isfile(meta):
|
||||||
tval = os.stat(meta)[9]
|
tval = os.stat(meta)[9]
|
||||||
last = time.strftime('%x %X', time.localtime(tval))
|
last = time.strftime('%x %X', time.localtime(tval))
|
||||||
#last = time.strftime('%a %b %d %X %Y', time.localtime(tval))
|
|
||||||
else:
|
else:
|
||||||
tval = 0
|
tval = 0
|
||||||
last = _("Never")
|
last = _("Never")
|
||||||
@ -941,8 +940,8 @@ def find_revisions(name):
|
|||||||
continue
|
continue
|
||||||
match = date.match(line)
|
match = date.match(line)
|
||||||
if match:
|
if match:
|
||||||
date_str = time.asctime(time.strptime(match.groups()[0],
|
date_str = time.strftime('%x %X',
|
||||||
'%Y-%m-%d %H:%M:%S'))
|
time.strptime(match.groups()[0], '%Y-%m-%d %H:%M:%S'))
|
||||||
|
|
||||||
get_next = True
|
get_next = True
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user