From 73d43cd5f63a320251e328905a570f61ce398ac1 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sun, 18 Aug 2013 14:56:25 -0400 Subject: [PATCH] Use ISO format instead an explicit strftime(). --- xonstat/views/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2