Debian Codegraph @

extensions/DiscussionTools/tests/cases/timestamp-parser-dst.json

raw symbols SCIP
1 [
2 {
3 "sample": "01:30, 28 Oct 2018 (CEST)",
4 "expected": "2018-10-28T01:30:00+02:00",
5 "expectedUtc": "2018-10-27T23:30:00Z",
6 "format": "H:i, j M Y",
7 "timezone": "Europe/Warsaw",
8 "timezoneAbbrs": {
9 "CET": "CET",
10 "CEST": "CEST"
11 },
12 "message": "Before DST change (not ambiguous)"
13 },
14 {
15 "sample": "02:30, 28 Oct 2018 (CEST)",
16 "expected": "2018-10-28T02:30:00+02:00",
17 "expectedUtc": "2018-10-28T00:30:00Z",
18 "format": "H:i, j M Y",
19 "timezone": "Europe/Warsaw",
20 "timezoneAbbrs": {
21 "CET": "CET",
22 "CEST": "CEST"
23 },
24 "message": "Before DST change (ambiguous)"
25 },
26 {
27 "sample": "02:30, 28 Oct 2018 (CET)",
28 "expected": "2018-10-28T02:30:00+01:00",
29 "expectedUtc": "2018-10-28T01:30:00Z",
30 "format": "H:i, j M Y",
31 "timezone": "Europe/Warsaw",
32 "timezoneAbbrs": {
33 "CET": "CET",
34 "CEST": "CEST"
35 },
36 "message": "After DST change (ambiguous) // At 03:00, time goes back by 1 hour"
37 },
38 {
39 "sample": "03:30, 28 Oct 2018 (CET)",
40 "expected": "2018-10-28T03:30:00+01:00",
41 "expectedUtc": "2018-10-28T02:30:00Z",
42 "format": "H:i, j M Y",
43 "timezone": "Europe/Warsaw",
44 "timezoneAbbrs": {
45 "CET": "CET",
46 "CEST": "CEST"
47 },
48 "message": "After DST change (not ambiguous)"
49 }
50 ]