Module:Date: Difference between revisions
Created page with "-- Date functions for use by other modules. -- I18N and time zones are not supported. local MINUS = '−' -- Unicode U+2212 MINUS SIGN local floor = math.floor local Date,..." |
No edit summary |
||
| (One intermediate revision 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, | ||