View source for Module:Date period
MyWikiBiz, Author Your Legacy — Friday May 16, 2025
Jump to navigationJump to searchYou do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
local Date = require('Module:Date')._Date
local yesno = require('Module:Yesno')
local p = {}
function p.main(frame)
return p._main(frame.args[1], frame.args[2], frame.args['force-year'])
end
function p._main(_dateA, _dateB, showYear)
if _dateA == nil and _dateB == nil then
error('Date A or B not provided.')
elseif _dateA == nil then
return Date(_dateA):text('%B %-d')
elseif _dateB == nil then
return Date(_dateB):text('%B %-d')
end
local dateA = Date(_dateA)
local dateB = Date(_dateB)
000
1:0
Templates used on this page:
Return to Module:Date period.