Five weekends: Difference between revisions

Content added Content deleted
m (→‎{{header|Phix}}: bugfix. day_of_week is now iSO 8601 compliant)
m (→‎{{header|Phix}}: use a more explicit test for "Friday")
Line 4,799: Line 4,799:
for m=1 to 12 do
for m=1 to 12 do
if string(m31[m])
if string(m31[m])
and day_of_week(y,m,1)=5 then
and day_of_week(y,m,1,true)="Friday" then
if length(months)!=0 then months &= ", " end if
if length(months)!=0 then months &= ", " end if
months &= m31[m]
months &= m31[m]