]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Use ISO format instead an explicit strftime().
authorAnt Zucaro <azucaro@gmail.com>
Sun, 18 Aug 2013 18:56:25 +0000 (14:56 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Sun, 18 Aug 2013 18:56:25 +0000 (14:56 -0400)
xonstat/views/player.py

index 774672903c7203c863bed85af7f25f60638c2988..575373b36ec0cfb1c92a1f555c22b73b4be17dc4 100644 (file)
@@ -884,7 +884,7 @@ def player_hashkey_info_text(request):
 
     # one-offs for things needing conversion for text/plain
     player_joined = timegm(player.create_dt.timetuple())
-    player_joined_dt = player.create_dt.strftime('%Y-%m-%d %H:%M:%SZ')
+    player_joined_dt = player.create_dt
     alivetime = int(datetime_seconds(overall_stats['overall'].total_playing_time))
 
     # this is a plain text response, if we don't do this here then