if [ -f "$statdir/newestdate" ]; then
newestdate=$(cat "$statdir/newestdate")
- echo "Using newestdate $(date +"%T %B %d %Y" -d @$newestdate)"
+ echo "Using newestdate $(LANG=en_US date +"%T %B %d %Y" -d @$newestdate)"
else
newestdate=0
fi
fi
done < <(lftp -p "$syncline_port" \
-u "$syncline_user,$syncline_pass" \
- -e "mirror -v -N \"$(date +"%T %B %d %Y" -d @$newestdate)\" \"$syncline_rdir\" \"$syncline_ldir\"" \
+ -e "mirror -v -N \"$(LANG=en_US date +"%T %B %d %Y" -d @$newestdate)\" \"$syncline_rdir\" \"$syncline_ldir\"" \
"$subnet$i")
[ -n "$lastfile" ] && newestdate=$(returnnewer "$syncline_ldir/$lastfile" "$newestdate")