Commit 7ba08a09 authored by Jérome Perrin's avatar Jérome Perrin

test: reference of supported tidrange formats

parent f5c894ef
# 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment