From bfc57350f93b09b71e0d73ef388a41298ca9a61f Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson <frjo@xdeb.org> Date: Fri, 20 Mar 2020 09:58:58 +0100 Subject: [PATCH] Better options for default time and date formats. --- hypha/settings/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hypha/settings/base.py b/hypha/settings/base.py index d3936a389..fd092667c 100644 --- a/hypha/settings/base.py +++ b/hypha/settings/base.py @@ -315,13 +315,13 @@ USE_L10N = False USE_TZ = True -DATE_FORMAT = 'Y-m-d' +DATE_FORMAT = 'N j, Y' -DATETIME_FORMAT = 'Y-m-d\TH:i:s' +DATETIME_FORMAT = 'N j, Y, H:i' SHORT_DATE_FORMAT = 'Y-m-d' -SHORT_DATETIME_FORMAT = 'Y-m-d\TH:i:s' +SHORT_DATETIME_FORMAT = 'Y-m-d H:i' # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/stable/howto/static-files/ -- GitLab