Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
d50a4c87
Commit
d50a4c87
authored
8 years ago
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed test failure introduced in
https://github.com/zopefoundation/ZODB/pull/51
The PR depended on system time being UTC.
parent
b83ac1c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/ZODB/historical_connections.txt
src/ZODB/historical_connections.txt
+2
-1
No files found.
src/ZODB/historical_connections.txt
View file @
d50a4c87
...
...
@@ -22,7 +22,8 @@ Historical Connections
... time.time = faux_time_time
... time.sleep = faux_time_sleep
>>> def utcnow():
... return datetime.datetime.fromtimestamp(_now)
... mus = (int(_now % 1 * 1000000), )
... return datetime.datetime(*time.gmtime(_now)[:6] + mus)
Usage
=====
...
...
This diff is collapsed.
Click to expand it.
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