diff --git a/app/templates/app/processing_node.html b/app/templates/app/processing_node.html index 272188e5..7626673a 100644 --- a/app/templates/app/processing_node.html +++ b/app/templates/app/processing_node.html @@ -1,5 +1,5 @@ {% extends "app/logged_in_base.html" %} -{% load i18n %} +{% load i18n tz %} {% block content %}

Processing Node

@@ -22,7 +22,7 @@ {% trans "Last Refreshed" %} - {{ processing_node.last_refreshed }} + {{ processing_node.last_refreshed|timesince }} {% trans 'ago' %} ({{ processing_node.last_refreshed|localtime }}) {% trans "Options (JSON)" %} diff --git a/webodm/settings.py b/webodm/settings.py index 7ae4a5c4..d3e22685 100644 --- a/webodm/settings.py +++ b/webodm/settings.py @@ -115,7 +115,7 @@ AUTH_PASSWORD_VALIDATORS = [ # https://docs.djangoproject.com/en/1.10/topics/i18n/ LANGUAGE_CODE = 'en-us' -TIME_ZONE = 'UTC' +TIME_ZONE = None # Use local server time USE_I18N = True USE_L10N = True USE_TZ = True