web/views/plots.py
changeset 7166 dde161937d3e
parent 6582 8eb7883b4223
child 7390 be2fffc9ec17
--- a/web/views/plots.py	Fri Apr 01 14:38:16 2011 +0200
+++ b/web/views/plots.py	Fri Apr 01 15:04:47 2011 +0200
@@ -47,7 +47,7 @@
 @objectify_selector
 def columns_are_date_then_numbers(cls, req, rset=None, *args, **kwargs):
     etypes = rset.description[0]
-    if etypes[0] not in ('Date', 'Datetime'):
+    if etypes[0] not in ('Date', 'Datetime', 'TZDatetime'):
         return 0
     for etype in etypes[1:]:
         if etype not in ('Int', 'Float'):