Code layout change.
[wolnelektury.git] / wolnelektury / utils.py
diff --git a/wolnelektury/utils.py b/wolnelektury/utils.py
deleted file mode 100644 (file)
index 0c256e5..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# -*- coding: utf-8 -*-
-# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
-#
-import pytz
-from django.utils import timezone
-from django.conf import settings
-
-tz = pytz.timezone(settings.TIME_ZONE)
-
-def localtime_to_utc(localtime):
-    return timezone.utc.normalize(
-        tz.localize(localtime)
-    )
-
-def utc_for_js(dt):
-    return dt.strftime('%Y/%m/%d %H:%M:%S UTC')