mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 07:12:20 -05:00
Move DATETIME_FORMAT from app to app.utils
To avoid cyclical import issues
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user