summaryrefslogtreecommitdiff
path: root/rcal
diff options
context:
space:
mode:
Diffstat (limited to 'rcal')
-rw-r--r--rcal/model.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/rcal/model.py b/rcal/model.py
index 34390c7..faed188 100644
--- a/rcal/model.py
+++ b/rcal/model.py
@@ -1,9 +1,12 @@
# pylint: disable=too-few-public-methods, invalid-name
-from dateutil.tz import tzutc
from sqlalchemy import Column, ForeignKey
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import relationship
-from sqlalchemy.types import Boolean, DateTime, Integer, String, TIMESTAMP, TypeDecorator
+from sqlalchemy.types import (TIMESTAMP, Boolean, DateTime, Integer, String,
+ TypeDecorator)
+
+from dateutil.tz import tzutc
+
class UTCDateTime(TypeDecorator):
impl = DateTime