Discordian date: Difference between revisions
m
→{{header|Phix}}: bugfix. the isleapyear() builtin has been renamed as is_leap_year()
(Added Swift solution) |
m (→{{header|Phix}}: bugfix. the isleapyear() builtin has been renamed as is_leap_year()) |
||
Line 2,951:
integer {y,m,d} = dt
dyear = sprintf("%d",y+1166)
leap =
if leap and m=2 and d=29 then
return "St. Tib's Day, in the YOLD " & dyear
|