Use t prefix for timestamp constant

stix2.1
Richard Piazza 2017-10-04 10:27:06 -04:00
parent a4819611e0
commit 3891595250
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class TimestampConstant(_Constant):
self.value = value
def __str__(self):
return "'%s'" % escape_quotes_and_backslashes(self.value)
return "t'%s'" % escape_quotes_and_backslashes(self.value)
class IntegerConstant(_Constant):