Private
Public Access
1
0

added timezone detection

This commit is contained in:
Sander Roosendaal
2017-09-03 12:11:19 +02:00
parent 58ab1f87bb
commit bd46c5bcd7
6 changed files with 15 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
{% load cookielaw_tags %}
{% load leaflet_tags %}
{% load tz_detect %}
{% tz_detect %}
{% load analytical %}
{% block filters %}
{% endblock %}

View File

@@ -7,6 +7,9 @@
{% block content %}
<div class="grid_12">
<p class="midden">
Local Time: {% now "jS F Y H:i" %}
</p>
<p class="midden">
Compatible with:
<img src="/static/img/stravasquare.png" alt="Strava icon" width="30" height="30">

View File

@@ -143,7 +143,7 @@ from dataprep import timedeltaconv
from scipy.interpolate import griddata
LOCALTIMEZONE = tz('Etc/UTC')
#LOCALTIMEZONE = tz('Etc/UTC')
USER_LANGUAGE = 'en-US'
from interactiveplots import *