mediawiki-extensions-Discus.../tests/cases/timestamp-parser.json
Ed Sanders c5d1029b25 Move /cases and /data up to /tests
Theses are no longer QUnit specific.

Change-Id: I5f3cca1ff686922e0cdaaedb80858f37df04799a
2020-05-18 21:47:17 +01:00

21 lines
520 B
JSON

[
{
"format": "Y n j D H i",
"data": [ null, "2011", "2", "3", "unused", "04", "05", "UTC" ],
"expected": "2011-02-03T04:05:00+00:00",
"message": "Date is parsed"
},
{
"format": "xkY xg d \"asdf\" G i",
"data": [ null, "2554", "February", "03", "4", "05", "UTC" ],
"expected": "2011-02-03T04:05:00+00:00",
"message": "Date is parsed"
},
{
"format": "H i n j Y",
"data": [ null, "04", "05", "2", "3", "2011", "UTC" ],
"expected": "2011-02-03T04:05:00+00:00",
"message": "Date is parsed"
}
]