Commit 37770b91 authored by Michal Čihař's avatar Michal Čihař

Specify timezone

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent c7426ce2
......@@ -876,7 +876,7 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
# Update po file header
now = timezone.now()
if not timezone.is_aware(now):
now = timezone.make_aware(now)
now = timezone.make_aware(now, timezone.utc)
# Prepare headers to update
headers = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment