From: Ant Zucaro Date: Sun, 18 Aug 2013 18:56:25 +0000 (-0400) Subject: Use ISO format instead an explicit strftime(). X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=73d43cd5f63a320251e328905a570f61ce398ac1;p=xonotic%2Fxonstat.git Use ISO format instead an explicit strftime(). --- diff --git a/xonstat/views/player.py b/xonstat/views/player.py index 7746729..575373b 100644 --- a/xonstat/views/player.py +++ b/xonstat/views/player.py @@ -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