Module:Bengali Unix Timestamp: Difference between revisions

Content deleted Content added
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 8:
local input = date
local year, month, day
if date then
 
day, month, month = input:match("(%d+)%-(%d+)%-(%d+)")
end
if not (year and month and day) then
day, month, year = input:match("(%d+)%s+(%a+)%s+(%d+)")