Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zodbtools
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
Jérome Perrin
zodbtools
Commits
7ba08a09
Commit
7ba08a09
authored
Jan 09, 2019
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: reference of supported tidrange formats
parent
f5c894ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
0 deletions
+62
-0
zodbtools/test/testdata/tidrange-formats.txt
zodbtools/test/testdata/tidrange-formats.txt
+62
-0
No files found.
zodbtools/test/testdata/tidrange-formats.txt
0 → 100644
View file @
7ba08a09
# This is the supported time formats for zodbutils <tidrange>
# Format of this file is:
# <tid in hex format> <time>
#
# arbitrary reference time: 2009-08-30T19:20:00Z
# ( as a timestamp: 1251660000 )
# XXX for now it's RFC3339 and not hex tid
# git test for approxidate
# XXX for dates without h:m like 2008-12-01 keep same "hour:minute" as now ... do we want this ?
2009-08-30T19:20:00Z now
2009-08-30T19:19:55Z 5 seconds ago
2009-08-30T19:19:55Z 5.seconds.ago
2009-08-30T19:10:00Z 10.minutes.ago
2009-08-29T19:20:00Z yesterday
2009-08-27T19:20:00Z 3.days.ago
2009-08-09T19:20:00Z 3.weeks.ago
2009-05-30T19:20:00Z 3.months.ago
2007-05-30T19:20:00Z 2.years.3.months.ago
2009-08-29T06:00:00Z 6am yesterday
2009-08-29T18:00:00Z 6pm yesterday
2009-08-30T03:00:00Z 3:00
2009-08-30T15:00:00Z 15:00
2009-08-30T12:00:00Z noon today
2009-08-29T12:00:00Z noon yesterday
2009-01-05T12:00:00Z January 5th noon pm
2009-08-29T12:00:00Z 10am noon
2009-08-25T19:20:00Z last tuesday
2009-07-05T19:20:00Z July 5th
2009-06-05T19:20:00Z 06/05/2009
2009-05-06T19:20:00Z 06.05.2009
2009-06-06T05:00:00Z Jun 6, 5AM
2009-06-06T05:00:00Z 5AM Jun 6
2009-06-07T06:00:00Z 6AM, June 7, 2009
2008-12-01T19:20:00Z 2008-12-01
2009-12-01T19:20:00Z 2009-12-01
# more
#TODO 2018-01-01 10:30:00 UTC
#TODO 2018-01-02 UTC
#\x03\xc4\x85:\x00\x00\x00\x00 2018-01-01 10:30
#\x03\xc4\x88d\x00\x00\x00\x00 2018-01-02
2009-08-30T19:19:00Z 1 minute ago
2009-08-29T19:20:00Z yesterday
2009-08-29T19:20:00Z 1 day ago
2009-07-30T19:20:00Z 1 month ago
### likely not supported:
# \x03\xc4\x85:\x00\x00\x00\x00 le 1er janvier 2018 à 10h30
# \x03\xc4\x88d\x00\x00\x00\x00 2018年1月2日
\ No newline at end of file
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