use _dd.display() to format the date used in the string 'Generated by Gramps on <...>'
svn: r8799
This commit is contained in:
parent
d478c1a42d
commit
3a30535d33
@ -1,3 +1,7 @@
|
||||
2007-08-04 Stephane Charette <stephanecharette@gmail.com>
|
||||
* src/plugins/NarrativeWeb.py: use _dd.display() to format the date
|
||||
used in the string "Generated by Gramps on <...>"
|
||||
|
||||
2007-08-02 Brian Matherly <brian@gramps-project.org>
|
||||
* src/plugins/EndOfLineReport.py: Remove relationships and places
|
||||
|
||||
|
@ -79,6 +79,7 @@ import GrampsLocale
|
||||
from QuestionDialog import ErrorDialog, WarningDialog
|
||||
from BasicUtils import name_displayer as _nd
|
||||
from DateHandler import displayer as _dd
|
||||
from DateHandler import parser as _dp
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -330,8 +331,8 @@ class BasePage:
|
||||
of.write(' </div>\n')
|
||||
of.write('<div id="navheader">\n')
|
||||
|
||||
value = unicode(time.strftime('%x',time.localtime(time.time())),
|
||||
GrampsLocale.codeset)
|
||||
value = _dp.parse(time.strftime('%b %d %Y'))
|
||||
value = unicode(_dd.display(value), GrampsLocale.codeset)
|
||||
|
||||
msg = _('Generated by <a href="http://gramps-project.org">'
|
||||
'GRAMPS</a> on %(date)s') % { 'date' : value }
|
||||
|
Loading…
Reference in New Issue
Block a user