added timezone hint for 'last-modified'

This commit is contained in:
Martin Wagner 2020-05-25 22:01:22 +02:00
parent feaa958547
commit 3c68214b68

View File

@ -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()