fix bug that prevents show change date in place view

svn: r14182
This commit is contained in:
Benny Malengier 2010-02-01 16:12:15 +00:00
parent 1fe13f7a78
commit 030af7b07b
2 changed files with 1 additions and 2 deletions

View File

@ -97,7 +97,6 @@ class ListView(NavigationView):
def __init__(self, title, dbstate, uistate, columns, handle_col, def __init__(self, title, dbstate, uistate, columns, handle_col,
make_model, signal_map, get_bookmarks, bm_type, nav_group, make_model, signal_map, get_bookmarks, bm_type, nav_group,
multiple=False, filter_class=None, markup=False): multiple=False, filter_class=None, markup=False):
NavigationView.__init__(self, title, dbstate, uistate, NavigationView.__init__(self, title, dbstate, uistate,
get_bookmarks, bm_type, nav_group) get_bookmarks, bm_type, nav_group)
#default is listviews keep themself in sync with database #default is listviews keep themself in sync with database

View File

@ -191,7 +191,7 @@ class PlaceBaseModel(object):
def sort_change(self, data): def sort_change(self, data):
return "%012x" % data[11] return "%012x" % data[11]
def column_change(self, data, node): def column_change(self, data):
return unicode(time.strftime('%x %X',time.localtime(data[11])), return unicode(time.strftime('%x %X',time.localtime(data[11])),
GrampsLocale.codeset) GrampsLocale.codeset)