Skip to content

Format item lastupdated time as iso8601 #97

Merged
merged 1 commit into from
Oct 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/ECNQueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def __getLastUpdated(self) -> str:
"""
unixTime = os.path.getmtime(self.__path)
formattedTime = time.strftime('%m-%d-%y %I:%M %p', time.localtime(unixTime))
return formattedTime
return self.__getFormattedDate(formattedTime)

def __getRawItem(self) -> list:
"""Returns a list of all lines in the item file
Expand Down Expand Up @@ -1198,4 +1198,4 @@ def getQueues() -> list:
if isDirectory and isValid:
queues.append(Queue(file))

return queues
return queues