Modul:Citation/utilities: Unterschied zwischen den Versionen
range format
(moduleInterface) |
(range format) |
||
| Zeile 3: | Zeile 3: | ||
suite = 'Citation', | suite = 'Citation', | ||
sub = 'utilities', | sub = 'utilities', | ||
serial = '2021- | serial = '2021-05-19' | ||
} | } | ||
| Zeile 204: | Zeile 204: | ||
local function formatDate( aDate, aFormat ) | local function formatDate( aDate, aFormat ) | ||
return mw.getContentLanguage():formatDate( aFormat, aDate, true ) | return mw.getContentLanguage():formatDate( aFormat, aDate, true ) | ||
end | |||
if aFormat == 'R' then | |||
return aDate | |||
end | end | ||