* src/DateDisplay.py (_display_gregorian): Prepend month and
day with zeros if needed for the ISO format. svn: r3619
This commit is contained in:
parent
6078827986
commit
6e51f6b27d
@ -1,3 +1,7 @@
|
||||
2004-10-11 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* src/DateDisplay.py (_display_gregorian): Prepend month and
|
||||
day with zeros if needed for the ISO format.
|
||||
|
||||
2004-10-10 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* src/DateParser.py: try to detect illegal numerical dates
|
||||
* src/GrampsInMemDB.py: handle null handle
|
||||
|
@ -207,9 +207,9 @@ class DateDisplay:
|
||||
if date_val[1] == 0:
|
||||
value = year
|
||||
else:
|
||||
value = "%s-%d" % (year,date_val[1])
|
||||
value = "%s-%02d" % (year,date_val[1])
|
||||
else:
|
||||
value = "%s-%d-%d" % (year,date_val[1],date_val[0])
|
||||
value = "%s-%02d-%02d" % (year,date_val[1],date_val[0])
|
||||
elif self.format == 1:
|
||||
if date_val[0] == 0 and date_val[1] == 0:
|
||||
value = str(date_val[2])
|
||||
|
Loading…
Reference in New Issue
Block a user