paneldue: Convert "modifed" attribute of metadata to a string
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
dfb1e19948
commit
7554a599b4
|
@ -709,7 +709,7 @@ class PanelDue:
|
|||
response['err'] = 0
|
||||
response['size'] = metadata['size']
|
||||
# workaround for PanelDue replacing the first "T" found
|
||||
response['lastModified'] = "T" + metadata['modified']
|
||||
response['lastModified'] = "T" + time.ctime(metadata['modified'])
|
||||
slicer = metadata.get('slicer')
|
||||
if slicer is not None:
|
||||
response['generatedBy'] = slicer
|
||||
|
|
Loading…
Reference in New Issue