Skip to content

Commit

Permalink
Update docs for explicit date format
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Sep 17, 2020
1 parent b522fe4 commit c342885
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions api/ECNQueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c342885

Please sign in to comment.