From 3c68214b68e114963946dcd8937179356109c80f Mon Sep 17 00:00:00 2001 From: Martin Wagner Date: Mon, 25 May 2020 22:01:22 +0200 Subject: [PATCH] added timezone hint for 'last-modified' --- bin/mpdevil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mpdevil.py b/bin/mpdevil.py index 5b014ba..b55323c 100644 --- a/bin/mpdevil.py +++ b/bin/mpdevil.py @@ -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()