Skip to content

Commit

Permalink
python: Convert timestamps to isoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
jleclanche committed Feb 1, 2016
1 parent 57b166c commit 7ca4724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/hsreplay/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def xml(self):
if attrib is not None:
element.attrib[attr] = attrib
if self.timestamp and self.ts:
element.attrib["ts"] = self.ts
element.attrib["ts"] = self.ts.isoformat()
return element

def __repr__(self):
Expand Down

0 comments on commit 7ca4724

Please sign in to comment.