mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 23:32:27 -05:00
Localize notification_utils to the API
This changeset pulls in all of the notification_utils code directly into the API and removes it as an external dependency. We are doing this to cut down on operational maintenance of the project and will begin removing parts of it no longer needed for the API. Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
from flask import url_for
|
||||
from notifications_utils.template import HTMLEmailTemplate, SMSMessageTemplate
|
||||
from sqlalchemy import func
|
||||
|
||||
from notifications_utils.template import HTMLEmailTemplate, SMSMessageTemplate
|
||||
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user