Module:Date: Pagkakaiba sa mga binago

Content deleted Content added
No edit summary
Kinansela ang pagbabagong 1715764 ni Geraldinho108 (Usapan)
Tatak: Undo
Linya 971:
end
id = id:lower()
if is_prefix(id, 'taonyears') then
y = num
m = 0
elseif is_prefix(id, 'buwanmonths') then
y = floor(num / 12)
m = num % 12
elseif is_prefix(id, 'linggoweeks') then
days = num * 7
elseif is_prefix(id, 'arawdays') then
days = num
elseif is_prefix(id, 'orashours') then
days = num / 24
elseif is_prefix(id, 'sandaliminutes', 3) then
days = num / (24 * 60)
elseif is_prefix(id, 'saglitseconds') then
days = num / (24 * 3600)
else