FIX: some localtime issues.

This commit is contained in:
2019-06-12 16:57:09 +02:00
parent 14b846cd7b
commit 3b7b04531f
5 changed files with 17 additions and 11 deletions

View File

@@ -30,5 +30,5 @@ class EventFlag(models.Model):
s = '{status} - {timestamp}'
if self.user:
s += ' by user {user}'
return s.format(status=self.status, timestamp=self.timestamp.strftime('%d.%m.%Y %H:%M:%S'),
return s.format(status=self.status, timestamp=self.timestamp.strftime('%d.%m.%Y %H:%M:%S %Z'),
user=self.user)