X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fparser%2FparserTests.txt;h=0facec251349903b9bc478448c6970d2c5100ab0;hb=6497541c9c089966ce7d3b0e0abd6b68192d30d8;hp=ee33f1d7d18c1054f9b87946f52b6bc2f68d4fbd;hpb=c7b0bb2459a6b14590b252935eccc2edfccae13b;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index ee33f1d7d1..0facec2513 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -24146,6 +24146,49 @@ language=nl title=[[MediaWiki:Common.css]]

!! end +!! test +formatdate with invalid month +!! wikitext +{{#formatdate:2019-22-22|dmy}} +!! html +

2019-22-22 +

+!! end + +!! test +formatdate: dots in month name do not match any char (T220563) +!! options +language=de +!! wikitext +{{#formatdate:jun. 3|dmy}} +{{#formatdate:junx 3|dmy}} +!! html +

3 Juni +junx 3 +

+!! end + +!! test +formatdate uses correct capitalisation in French +!! options +language=fr +!! wikitext +{{#formatdate:Juin 3|dmy}} +!! html +

3 juin +

+!! end + +!! test +formatdate uses correct capitalisation in English +!! wikitext +{{#formatdate:june 3|dmy}} +!! html +

3 June +

+!! end + + # # #