Fixed alternate calendar date format

svn: r1154
This commit is contained in:
Don Allingham 2002-10-27 15:34:34 +00:00
parent 647f0df128
commit 8600928985

View File

@ -64,9 +64,9 @@ _month = [
"JUL", "AUG", "SEP", "OCT", "NOV", "DEC" ]
_calmap = {
Date.HEBREW : (_hmonth, '@#HEBREW@'),
Date.FRENCH : (_fmonth, '@#FRENCH R@'),
Date.JULIAN : (_month, '@#JULIAN@'),
Date.HEBREW : (_hmonth, '@#DHEBREW@'),
Date.FRENCH : (_fmonth, '@#DFRENCH R@'),
Date.JULIAN : (_month, '@#DJULIAN@'),
}
#-------------------------------------------------------------------------
@ -872,7 +872,7 @@ class GedcomWriter:
val = "FROM %s TO %s" % (make_date(start,mlist),
make_date(stop,mlist))
else:
val = make_date(start,_hmonth)
val = make_date(start,mlist)
self.g.write("%s %s %s\n" % (prefix,cal,val))
else:
mydate = Date.Date(date)