summaryrefslogtreecommitdiff
path: root/templates/devel/clock.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-27 09:02:18 -0500
committerDan McGee <dan@archlinux.org>2012-04-27 09:12:26 -0500
commit15c94b2061de4ba618af977279fe2575db2ac0a5 (patch)
tree6c9de82b7ecee441429d65dc2e00d0397eecdf55 /templates/devel/clock.html
parentdc94eade03022ce3a5286f5e781576321a5f1653 (diff)
Make sorting by time on clocks page more predictable
This is a little bit of a hack but works well. Add the timezone name to the end of the sort so those in the same time zone end up next to each other. For timezones like CEST that have many different specifiers, it makes more sense to group them by 'Europe/Berlin', 'Europe/Paris', etc. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/devel/clock.html')
-rw-r--r--templates/devel/clock.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/devel/clock.html b/templates/devel/clock.html
index 61e67c32..bdb7341d 100644
--- a/templates/devel/clock.html
+++ b/templates/devel/clock.html
@@ -34,7 +34,7 @@
<td>{{ dev.userprofile.alias }}</td>
<td>{% if dev.userprofile.country %}<img src="{{ dev.userprofile.country.flag }}" alt="{{ dev.userprofile.country.name }}"/> {% endif %}{{ dev.userprofile.location }}</td>
<td>{{ dev.userprofile.time_zone }}</td>
- <td>{{ utc_now|timezone:dev.userprofile.time_zone|date:"Y-m-d H:i T" }}</td>
+ <td>{{ utc_now|timezone:dev.userprofile.time_zone|date:"Y-m-d H:i T" }}<span class="hide"> {{ dev.userprofile.time_zone }}</span></td>
</tr>
{% endfor %}
</tbody>