Module:Date: Difference between revisionsGive feedback
Jump to navigation
Jump to search
initial |
m format_date not local |
||
| Line 6: | Line 6: | ||
} | } | ||
function format_date(date_string) | |||
-- Split the date string into month, day, and year | -- Split the date string into month, day, and year | ||
local month, day, year = date_string:match("(%d%d)-(%d%d)-(%d%d%d%d)") | local month, day, year = date_string:match("(%d%d)-(%d%d)-(%d%d%d%d)") | ||