From 9b6bb4eb262427d244689e404ec10068e59f27b2 Mon Sep 17 00:00:00 2001 From: Levi Date: Wed, 21 Jun 2017 11:45:35 -0500 Subject: [PATCH] changed UTC to localtime in ssh key view --- hosting/templates/hosting/base_short.html | 6 ++++++ hosting/templates/hosting/user_keys.html | 13 ++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/hosting/templates/hosting/base_short.html b/hosting/templates/hosting/base_short.html index 6a2037f7..57bf384b 100644 --- a/hosting/templates/hosting/base_short.html +++ b/hosting/templates/hosting/base_short.html @@ -164,6 +164,12 @@ + + + + + + diff --git a/hosting/templates/hosting/user_keys.html b/hosting/templates/hosting/user_keys.html index 6dd2c823..42f85bdf 100644 --- a/hosting/templates/hosting/user_keys.html +++ b/hosting/templates/hosting/user_keys.html @@ -1,5 +1,6 @@ {% extends "hosting/base_short.html" %} {% load staticfiles bootstrap3 i18n %} +{% load tz %} {% block content %}
@@ -32,7 +33,8 @@ {% for user_key in keys %} {{user_key.name}} - {{user_key.created_at}} + + {{user_key.created_at|date:'Y-m-d H:i' }} Active @@ -92,5 +94,14 @@ {% endif %} + + {%endblock%}