From 9f699d1a6c5429d4b5d3f5f45e22ecaf940792cf Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Tue, 13 Jun 2017 15:42:02 +0200 Subject: [PATCH] time format changed due to issues on Windows --- smash/web/models/mail_template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smash/web/models/mail_template.py b/smash/web/models/mail_template.py index a7de8d66..9f00f23e 100644 --- a/smash/web/models/mail_template.py +++ b/smash/web/models/mail_template.py @@ -10,9 +10,9 @@ from .constants import MAIL_TEMPLATE_CONTEXT_CHOICES, MAIL_TEMPLATE_CONTEXT_APPO from ..docx_helper import process_file from ..models import Appointment, Visit, Subject, Worker -DATE_FORMAT_FULL = "%A %-d %B %Y" +DATE_FORMAT_FULL = "%A %d %B %Y" -DATETIME_FORMAT = "%A %-d %B %Y, %H:%m" +DATETIME_FORMAT = "%A %d %B %Y, %H:%m" DATE_FORMAT_SHORT = "%d.%m.%Y" -- GitLab