projects
/
xonotic
/
xonstat.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50ba0b7
)
Use ISO format instead an explicit strftime().
author
Ant Zucaro <azucaro@gmail.com>
Sun, 18 Aug 2013 18:56:25 +0000
(14:56 -0400)
committer
Ant Zucaro <azucaro@gmail.com>
Sun, 18 Aug 2013 18:56:25 +0000
(14:56 -0400)
xonstat/views/player.py
patch
|
blob
|
history
diff --git
a/xonstat/views/player.py
b/xonstat/views/player.py
index
7746729
..
575373b
100644
(file)
--- 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