mark dates, that have been parsed as textonly, but have not been a textual date before.
svn: r4566
This commit is contained in:
parent
04a5125212
commit
2a48a6c4e6
@ -471,7 +471,12 @@ class TestcaseGenerator:
|
||||
except:
|
||||
ndate = Date.Date()
|
||||
ndate.set_as_text("DateDisplay Exception: %s" % ("".join(traceback.format_exception(*sys.exc_info())),))
|
||||
|
||||
if dateval.get_modifier() != Date.MOD_TEXTONLY and ndate.get_modifier() == Date.MOD_TEXTONLY:
|
||||
# parser was unable to correctly parse the string
|
||||
ndate.set_as_text( "TEXTONLY: "+ndate.get_text())
|
||||
|
||||
|
||||
devent = RelLib.Event()
|
||||
devent.set_name("Death")
|
||||
devent.set_date_object(ndate)
|
||||
|
Loading…
x
Reference in New Issue
Block a user