]> de.git.xonotic.org Git - xonotic/xonstat.git/commit
Use relative time everywhere, but add hover with absolute time.
authorAnt Zucaro <azucaro@gmail.com>
Sun, 2 Sep 2012 17:08:36 +0000 (13:08 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Sun, 2 Sep 2012 17:08:36 +0000 (13:08 -0400)
commit71c8d6efdc344d0fc9b83d834f02f31ef6293916
tree55a5208523a43ec5ad8011bd3c19c10078c43848
parent8a4eed3f953adb1458f6e931a1f2ff0dde62229a
Use relative time everywhere, but add hover with absolute time.

Use "fuzzy" dates everywhere (e.g. "an hour ago"), but allow for
a hover showing the absolute UTC time when needed. This is done
with a span and a title attribute.
xonstat/models.py
xonstat/templates/game_info.mako
xonstat/templates/main_index.mako
xonstat/templates/map_index.mako
xonstat/templates/map_info.mako
xonstat/templates/player_index.mako
xonstat/templates/player_info.mako
xonstat/templates/search.mako
xonstat/templates/server_index.mako
xonstat/templates/server_info.mako
xonstat/util.py