Skip to content

Commit

Permalink
Format item lastupdated time as iso8601
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 authored Oct 28, 2020
1 parent ac8570d commit 3bdb99f
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 3bdb99f

Please sign in to comment.