equal
deleted
inserted
replaced
22 |
22 |
23 # import local interfaces |
23 # import local interfaces |
24 from interfaces import IServerTimezone |
24 from interfaces import IServerTimezone |
25 |
25 |
26 # import Zope3 packages |
26 # import Zope3 packages |
|
27 from zope.app.container.contained import Contained |
27 from zope.interface import implements |
28 from zope.interface import implements |
28 from zope.schema.fieldproperty import FieldProperty |
29 from zope.schema.fieldproperty import FieldProperty |
29 |
30 |
30 # import local packages |
31 # import local packages |
31 |
32 |
32 from ztfy.utils import _ |
33 from ztfy.utils import _ |
33 |
34 |
34 |
35 |
35 class ServerTimezoneUtility(Persistent): |
36 class ServerTimezoneUtility(Persistent, Contained): |
36 |
37 |
37 implements(IServerTimezone) |
38 implements(IServerTimezone) |
38 |
39 |
39 timezone = FieldProperty(IServerTimezone['timezone']) |
40 timezone = FieldProperty(IServerTimezone['timezone']) |