@@ -128,10 +128,10 @@ if $ARGS[0] = 'getdate':
if (month = 1 or month = 3 or month = 5 or month = 7 or month = 8 or month = 10 or month = 12) and newday > 31:
newday -= 31
elseif month = 2:
- if (year mod 4 = 0) and newday > 29:
- newday -= 29
+ if (year mod 4 = 0):
+ if newday > 29: newday -= 29
else
- newday -= 28
+ if newday > 28: newday -= 28
end
elseif newday > 30:
newday -= 30