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:
Doug Blank
2007-12-20 05:10:24 +00:00
parent a3cc8799ae
commit 0f96422fd0
4 changed files with 12 additions and 7 deletions

View File

@ -603,10 +603,8 @@ class GeneWebWriter:
def format_date(self,date):
retval = ""
strval = date.get_text()
if strval:
retval = "0(%s)" % self.rem_spaces(strval)
if date.get_modifier() == gen.lib.Date.MOD_TEXTONLY:
retval = "0(%s)" % self.rem_spaces(date.get_text())
elif not date.is_empty():
mod = date.get_modifier()
cal = cal = date.get_calendar()