Commits

Ada Young  committed d4ffe2b

Now using utc times, apparently datetime defaults to locale first

  • Participants
  • Parent commits 9aa58e3

Comments (0)

Files changed (1)

 		lognotes = []
 		for i in dataset:
 			timestamp = i.get('date', 0)
-			timestamp = datetime.fromtimestamp(int(timestamp)).strftime("%Y-%m-%d %H:%M:%S")
+			timestamp = datetime.utcfromtimestamp(int(timestamp)).strftime("%Y-%m-%d %H:%M:%S")
 
 			lognote = i.get('event', '')
 			lognotes.append("%s - %s" % (timestamp, lognote))