Module:Date: Difference between revisions
w>Johnuniq update from sandbox: implement show=M (minutes) and show=s (seconds); better method to fill a partial date |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 568: | Line 568: | ||
local function month_number(text) | local function month_number(text) | ||
return name_to_number(text, { | return name_to_number(text:gsub('%.', ''), { | ||
jan = 1, january = 1, | jan = 1, january = 1, | ||
feb = 2, february = 2, | feb = 2, february = 2, | ||