2007-12-20 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/ExportVCard.py: fixed date.get_text() as signal for text * src/plugins/ExportVCalendar.py: fixed date.get_text() ditto * src/plugins/WriteGeneWeb.py: fixed date.get_text() ditto svn: r9540
This commit is contained in:
@ -213,7 +213,10 @@ class CardWriter:
|
||||
if birth:
|
||||
b_date = birth.get_date_object()
|
||||
mod = b_date.get_modifier()
|
||||
if not b_date.get_text() and not b_date.is_empty() and not mod == Date.MOD_SPAN and not mod == Date.MOD_RANGE:
|
||||
if (date.get_modifier() != Date.MOD_TEXTONLY and
|
||||
not b_date.is_empty() and
|
||||
not mod == Date.MOD_SPAN and
|
||||
not mod == Date.MOD_RANGE):
|
||||
(day,month,year,sl) = b_date.get_start_date()
|
||||
if day > 0 and month > 0 and year > 0:
|
||||
self.writeln("BDAY:%s-%02d-%02d" % (year,month,day))
|
||||
|
Reference in New Issue
Block a user