[gen] Corrected Zope index type for Date fields.
This commit is contained in:
parent
820d3ef241
commit
bac15b6ee1
|
@ -1654,6 +1654,8 @@ class Date(Type):
|
||||||
import DateTime
|
import DateTime
|
||||||
return DateTime.DateTime(value)
|
return DateTime.DateTime(value)
|
||||||
|
|
||||||
|
def getIndexType(self): return 'DateIndex'
|
||||||
|
|
||||||
class File(Type):
|
class File(Type):
|
||||||
def __init__(self, validator=None, multiplicity=(0,1), default=None,
|
def __init__(self, validator=None, multiplicity=(0,1), default=None,
|
||||||
show=True, page='main', group=None, layouts=None, move=0,
|
show=True, page='main', group=None, layouts=None, move=0,
|
||||||
|
|
Loading…
Reference in a new issue