Index: /main/waeup.kofa/trunk/src/waeup/kofa/widgets/datewidget.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/widgets/datewidget.py	(revision 8192)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/widgets/datewidget.py	(revision 8193)
@@ -19,9 +19,14 @@
 A datewidget with customizable date format.
 """
+import pytz
 from datetime import datetime
+from zope.component import queryUtility
 from zope.formlib.interfaces import ConversionError, IDisplayWidget
 from zope.formlib.textwidgets import DateWidget, DateDisplayWidget, escape
 from zope.formlib.widget import renderElement, CustomWidgetFactory
 from zope.interface import implements
+from waeup.kofa.interfaces import IKofaUtils
+from waeup.kofa.utils.helpers import to_timezone
+
 
 #: A dictionary of supported date formats.
@@ -130,4 +135,8 @@
 
     This is a display widget.
+
+    It can also be used for displaying datetimes. If used to display a
+    datetime (not a date), the widget returns local datetime with
+    timezone set according to KofaUtils.
     """
     date_format = '%Y-%m-%d'
@@ -152,4 +161,11 @@
         if content == self.context.missing_value:
             return ""
+        if isinstance(content, datetime):
+            # shift value to local timezone
+            tz = pytz.utc
+            utils = queryUtility(IKofaUtils)
+            if utils is not None:
+                tz = utils.tzinfo
+            content = to_timezone(content, tz)
         content = content.strftime(self.date_format)
         return renderElement("span", contents=escape(content),
