2008-02-07 Jerome Rapinat <romjerome@yahoo.fr>

* src/DateHandler/_Date_fr.py : fix issue with french calendar and 
        year only #1733



svn: r10002
This commit is contained in:
Jérôme Rapinat 2008-02-07 15:31:27 +00:00
parent 8c0779eabb
commit eb01559178
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-02-07 Jerome Rapinat <romjerome@yahoo.fr>
* src/DateHandler/_Date_fr.py : fix issue with french calendar and
year only #1733
2008-02-07 Raphael Ackermann <raphael.ackermann@gmail.com> 2008-02-07 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditPerson.py: pylint fixes & doc fixes * src/Editors/_EditPerson.py: pylint fixes & doc fixes
fixed 0001347: double gid should not be allowed for Person View fixed 0001347: double gid should not be allowed for Person View

View File

@ -274,7 +274,7 @@ class DateDisplayFR(DateDisplay):
year = date_val[2] year = date_val[2]
if date_val[0] == 0: if date_val[0] == 0:
if date_val[1] == 0: if date_val[1] == 0:
value = year return year
else: else:
value = u"%s %d" % (self.french[date_val[1]], year) value = u"%s %d" % (self.french[date_val[1]], year)
# convertion mistake before 22.9.1792 # convertion mistake before 22.9.1792