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:
		| @@ -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> | ||||
| 	*  part 2 of workaround around bug | ||||
| 		http://bugzilla.gnome.org/show_bug.cgi?id=56070, make forward | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user