Ignore:
Timestamp:
13 Nov 2014, 14:40:27 (10 years ago)
Author:
Henrik Bettermann
Message:

Change of name.

Location:
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/widgets/datetimewidget.py

    r8944 r11949  
    2626from zope.formlib.interfaces import ConversionError
    2727from zope.formlib.textwidgets import DatetimeWidget
    28 from waeup.kofa.utils.helpers import to_timezone
    29 from waeup.kofa.interfaces import IKofaUtils
     28from waeup.ikoba.utils.helpers import to_timezone
     29from waeup.ikoba.interfaces import IIkobaUtils
    3030
    3131class _DummyUtils(object):
    3232    tzinfo = pytz.utc
    3333
    34 # A fallback, if no IKofaUtils can be found
     34# A fallback, if no IIkobaUtils can be found
    3535_DUMMY_UTILS = _DummyUtils()
    3636
     
    8585            return value
    8686        if value.tzinfo is None:
    87             utils = queryUtility(IKofaUtils, default=_DUMMY_UTILS)
     87            utils = queryUtility(IIkobaUtils, default=_DUMMY_UTILS)
    8888            value = utils.tzinfo.localize(value)
    8989        return value.astimezone(pytz.utc)
Note: See TracChangeset for help on using the changeset viewer.