Debian Codegraph @

tests/languages/neon/datetime_feature.test

raw
1 canonical: 2001-12-15T02:59:43.1Z
2 iso8601: 2001-12-14t21:59:43.10-05:00
3 spaced: 2001-12-14 21:59:43.10 -5
4 date: 2002-12-14
5 short: 2002-1-1
6 alt: 2016-06-03 19:00:00 +0200
7
8 ----------------------------------------------------
9
10 [
11 ["key", "canonical"], ["punctuation", ":"],
12 ["datetime", "2001-12-15T02:59:43.1Z"],
13 ["key", "iso8601"], ["punctuation", ":"],
14 ["datetime", "2001-12-14t21:59:43.10-05:00"],
15 ["key", "spaced"], ["punctuation", ":"],
16 ["datetime", "2001-12-14 21:59:43.10 -5"],
17 ["key", "date"], ["punctuation", ":"],
18 ["datetime", "2002-12-14"],
19 ["key", "short"], ["punctuation", ":"],
20 ["datetime", "2002-1-1"],
21 ["key", "alt"], ["punctuation", ":"], ["datetime", "2016-06-03 19:00:00 +0200"]
22 ]
23
24 ----------------------------------------------------
25
26 Checks for dates and datetimes.