Move DATETIME_FORMAT from app to app.utils

To avoid cyclical import issues
This commit is contained in:
Pea Tyczynska
2020-12-18 17:39:35 +00:00
parent ee833bd65b
commit 95deb5a52f
17 changed files with 24 additions and 39 deletions

View File

@@ -11,8 +11,10 @@ from notifications_utils.template import (
BroadcastMessageTemplate,
)
from app import DATETIME_FORMAT
DATETIME_FORMAT_NO_TIMEZONE = "%Y-%m-%d %H:%M:%S.%f"
DATETIME_FORMAT = "%Y-%m-%dT%H:%M:%S.%fZ"
DATE_FORMAT = "%Y-%m-%d"
local_timezone = pytz.timezone("Europe/London")