Modul:Citation: Unterschied zwischen den Versionen
K
keine Bearbeitungszusammenfassung
K (Korrektur) |
KKeine Bearbeitungszusammenfassung |
||
| Zeile 249: | Zeile 249: | ||
end | end | ||
if args.accessDate ~= '' and | if args.accessDate ~= '' and | ||
not args.accessDate:match( '^20%d%d-[01]?%d-[0123]?%d$' ) then | not args.accessDate:match( '^20%d%d%-[01]?%d%-[0123]?%d$' ) then | ||
args.accessDate = '' | args.accessDate = '' | ||
table.insert( errorMsgs, texts.wrongDate ) | table.insert( errorMsgs, texts.wrongDate ) | ||