mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-18 13:45:56 +00:00
41d5aa1d37
Change-Id: Ib1c3ec30796dd6bff36835e4555b6974e2a5b376
38 lines
1.9 KiB
JSON
38 lines
1.9 KiB
JSON
[
|
|
{
|
|
"format": "H:i, j F Y",
|
|
"expected": "(\\d{2}):(\\d{2}), (\\d{1,2}) (January|February|March|April|May|June|July|August|September|October|November|December) (\\d{4})[\\u200E\\u200F]? [\\u200E\\u200F]?\\((UTC)\\)",
|
|
"message": "(en) Boring"
|
|
},
|
|
{
|
|
"format": "H:i، j xg Y",
|
|
"expected": "(\\d{2}):(\\d{2})، (\\d{1,2}) (January|February|March|April|May|June|July|August|September|October|November|December) (\\d{4})[\\u200E\\u200F]? [\\u200E\\u200F]?\\((UTC)\\)",
|
|
"message": "(ar) 'xg' specifier"
|
|
},
|
|
{
|
|
"format": "H:i, j F xkY",
|
|
"expected": "(\\d{2}):(\\d{2}), (\\d{1,2}) (January|February|March|April|May|June|July|August|September|October|November|December) (\\d{4})[\\u200E\\u200F]? [\\u200E\\u200F]?\\((UTC)\\)",
|
|
"message": "(th) 'xkY' specifier"
|
|
},
|
|
{
|
|
"format": "H\"h\"i\"min\" \"de\" j \"de\" F \"de\" Y",
|
|
"expected": "(\\d{2})h(\\d{2})min de (\\d{1,2}) de (January|February|March|April|May|June|July|August|September|October|November|December) de (\\d{4})[\\u200E\\u200F]? [\\u200E\\u200F]?\\((UTC)\\)",
|
|
"message": "(pt) Escaped text (quotes)"
|
|
},
|
|
{
|
|
"format": "H\\hi\\m\\i\\n \\d\\e j \\d\\e F \\d\\e Y",
|
|
"expected": "(\\d{2})h(\\d{2})min de (\\d{1,2}) de (January|February|March|April|May|June|July|August|September|October|November|December) de (\\d{4})[\\u200E\\u200F]? [\\u200E\\u200F]?\\((UTC)\\)",
|
|
"message": "(pt) Escaped text (backslashes)"
|
|
},
|
|
{
|
|
"format": "j F Y à H:i",
|
|
"expected": "(\\d{1,2}) (January|February|March|April|May|June|July|August|September|October|November|December) (\\d{4}) à (\\d{2}):(\\d{2})[\\u200E\\u200F]? [\\u200E\\u200F]?\\((UTC)\\)",
|
|
"message": "(fr) Unescaped text (non-ASCII)"
|
|
},
|
|
{
|
|
"format": "Y年n月j日 (D) H:i",
|
|
"expected": "(\\d{4})年(\\d{1,2})月(\\d{1,2})日 \\((Sun|Mon|Tue|Wed|Thu|Fri|Sat)\\) (\\d{2}):(\\d{2})[\\u200E\\u200F]? [\\u200E\\u200F]?\\((UTC)\\)",
|
|
"message": "(ja) Unescaped regexp special characters"
|
|
}
|
|
]
|