From c342885d43401cd1c207d51f645b793d16af45fe Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Thu, 17 Sep 2020 13:59:03 -0400 Subject: [PATCH] Update docs for explicit date format --- api/ECNQueue.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/ECNQueue.py b/api/ECNQueue.py index 2da3d1b..53c376c 100644 --- a/api/ECNQueue.py +++ b/api/ECNQueue.py @@ -267,8 +267,9 @@ def __getAssignedTo(self) -> str: return assignedTo def __getFormattedDate(self, date: str) -> str: - """Returns the date/time recieved properly formatted. - Returns empty string if the string argument passed to the function is not a datetime + """Returns the date/time formatted as RFC 8601 YYYY-MM-DDTHH:MM:SS+00:00. + Returns empty string if the string argument passed to the function is not a datetime. + See: https://en.wikipedia.org/wiki/ISO_8601 Returns: str: Properly formatted date/time recieved or empty string.