[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: show timezone to end-user
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: show timezone to end-user |
Date: |
Mon, 07 Sep 2020 18:58:17 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new 89a7c04 show timezone to end-user
89a7c04 is described below
commit 89a7c04042aa1a359b386ea92c0f94e63938b387
Author: MS <ms@taler.net>
AuthorDate: Mon Sep 7 18:58:06 2020 +0200
show timezone to end-user
---
talerbank/app/views.py | 2 +-
talerbank/settings.py | 5 +----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 2a098e7..038b6b6 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -547,7 +547,7 @@ def extract_history(account, delta, start=None):
counterpart=counterpart.account_no,
counterpart_username=counterpart.user.username,
subject=item.subject,
- date=item.date.strftime("%d/%m/%y %H:%M"),
+ date=item.date.strftime("%d/%m/%y %H:%M %z"),
)
history.append(entry)
return history
diff --git a/talerbank/settings.py b/talerbank/settings.py
index 8024907..facae8c 100644
--- a/talerbank/settings.py
+++ b/talerbank/settings.py
@@ -164,10 +164,7 @@ USE_I18N = True
USE_L10N = True
-##
-# Set to False to silence this error:
-#
https://stackoverflow.com/questions/18622007/runtimewarning-datetimefield-received-a-naive-datetime
-USE_TZ = False
+USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.9/howto/static-files/
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: show timezone to end-user,
gnunet <=