Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
f1478441
Commit
f1478441
authored
Aug 05, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure to keep MAX32 as an int
parent
2c2880f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/Products/PluginIndexes/DateIndex/DateIndex.py
src/Products/PluginIndexes/DateIndex/DateIndex.py
+1
-1
src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
+1
-1
No files found.
src/Products/PluginIndexes/DateIndex/DateIndex.py
View file @
f1478441
...
...
@@ -51,7 +51,7 @@ else:
DSTOFFSET
=
STDOFFSET
DSTDIFF
=
DSTOFFSET
-
STDOFFSET
MAX32
=
2
**
31
-
1
MAX32
=
int
(
2
**
31
-
1
)
class
LocalTimezone
(
tzinfo
):
...
...
src/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
View file @
f1478441
...
...
@@ -37,7 +37,7 @@ from Products.PluginIndexes.common.util import parseIndexRequest
from
Products.PluginIndexes.interfaces
import
IDateRangeIndex
_dtmldir
=
os
.
path
.
join
(
package_home
(
globals
()
),
'dtml'
)
MAX32
=
2
**
31
-
1
MAX32
=
int
(
2
**
31
-
1
)
class
DateRangeIndex
(
UnIndex
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment