Anonymous user
Module:Age: Difference between revisions
new show=h, show=hm where days not wanted; show error for an unsupported show (occurs with partial dates)
(fix <span> anchor for error message) |
(new show=h, show=hm where days not wanted; show error for an unsupported show (occurs with partial dates)) |
||
Line 146:
w = { 'w', id = 'w' },
wd = { 'w', 'd', id = 'wd' },
h = { 'H', id = 'h' },
hm = { 'H', 'M', id = 'hm' },
d = { 'd', id = 'd' },
dh = { 'd', 'H', id = 'dh' },
Line 369 ⟶ 371:
end
local values = { diff:age(show.id, diff_options) }
if values[1] then
end
return message('Parameter show=' .. show.id .. ' is not supported here')
end
|