diff --git a/stix2/patterns.py b/stix2/patterns.py index 7858146..03b7657 100644 --- a/stix2/patterns.py +++ b/stix2/patterns.py @@ -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):