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/datewidget.py

    r9498 r11949  
    2626from zope.formlib.widget import renderElement, CustomWidgetFactory
    2727from zope.interface import implements
    28 from waeup.kofa.interfaces import IKofaUtils
    29 from waeup.kofa.utils.helpers import to_timezone
     28from waeup.ikoba.interfaces import IIkobaUtils
     29from waeup.ikoba.utils.helpers import to_timezone
    3030
    3131
     
    8282    If the widget is bound to a schema field with respective
    8383    attributes, it reads its `show_year` and `date_format` attributes
    84     (see waeup.kofa.schema.FormattedDate for an example) and sets a
     84    (see waeup.ikoba.schema.FormattedDate for an example) and sets a
    8585    CSS tag according to these values.
    8686
     
    141141    It can also be used for displaying datetimes. If used to display a
    142142    datetime (not a date), the widget returns local datetime with
    143     timezone set according to KofaUtils.
     143    timezone set according to IkobaUtils.
    144144    """
    145145    date_format = '%Y-%m-%d'
     
    167167            # shift value to local timezone
    168168            tz = pytz.utc
    169             utils = queryUtility(IKofaUtils)
     169            utils = queryUtility(IIkobaUtils)
    170170            if utils is not None:
    171171                tz = utils.tzinfo
Note: See TracChangeset for help on using the changeset viewer.