FIX: some localtime issues.

This commit is contained in:
2019-06-12 16:57:09 +02:00
parent f29e13ae4b
commit f961110a7c
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)