X-Git-Url: http://git.treefish.org/~alex/broadsync.git/blobdiff_plain/79726026ad100198da41813a8f1efb501a9458aa..refs/heads/master:/broadsync?ds=inline diff --git a/broadsync b/broadsync index 206794b..7f83195 100755 --- a/broadsync +++ b/broadsync @@ -66,7 +66,7 @@ while read syncline; do 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 @@ -95,7 +95,7 @@ while read syncline; do 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")