You can explicitly state the base of a number using base#number
if [ $((10#$item)) -eq 0 ] ; thenor
themonth=$((10#$monthcal+$1))
This option will have trouble if the number starts with a minus sign.
The '-' needs to be in front of the base like -10#009 for -9.