mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
added timezone hint for 'last-modified'
This commit is contained in:
parent
feaa958547
commit
3c68214b68
@ -2827,7 +2827,7 @@ class AudioType(Gtk.Button):
|
||||
self.store.append([tag+":", str(datetime.timedelta(seconds=int(value)))])
|
||||
elif tag == "last-modified":
|
||||
time=datetime.datetime.strptime(value, '%Y-%m-%dT%H:%M:%SZ')
|
||||
self.store.append([tag+":", time.strftime('%a %d %B %Y, %H:%M')])
|
||||
self.store.append([tag+":", time.strftime('%a %d %B %Y, %H:%M UTC')])
|
||||
else:
|
||||
self.store.append([tag+":", value])
|
||||
self.treeview.show()
|
||||
|
Loading…
Reference in New Issue
Block a user