You're probably using an outdated version of the mod, I think. I cannot find that line in the UK date format version of the mod.
Anyway I suppose this is the code you're talking about:
intBack = 1
if strCurrentDay <> "Sun" then
FullWeekArray = Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat","N/A")
Do while (intBack <= 8 AND strCurrentDay <> FullWeekArray(intBack) )
intBack = intBack + 1
loop
end if
This is how I think it should be fixed:
intBack = 1
if strCurrentDay <> "Sun" then
FullWeekArray = Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat","N/A")
Do while (intBack <=7 AND strCurrentDay <> FullWeekArray(intBack) )
intBack = intBack + 1
loop
end if