Revert Date Fix

This commit is contained in:
Tom Eastep 2010-09-23 06:48:29 -07:00
parent 9f9d5e3bc9
commit 65631e14c7
5 changed files with 9 additions and 9 deletions

View File

@ -43,7 +43,7 @@ progress_message() # $* = Message
fi fi
if [ $LOG_VERBOSITY -gt 1 ]; then if [ $LOG_VERBOSITY -gt 1 ]; then
timestamp="$(date +'%b %d %T') " timestamp="$(date +'%b %_d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG echo "${timestamp}$@" >> $STARTUP_LOG
fi fi
} }
@ -59,7 +59,7 @@ progress_message2() # $* = Message
fi fi
if [ $LOG_VERBOSITY -gt 0 ]; then if [ $LOG_VERBOSITY -gt 0 ]; then
timestamp="$(date +'%b %d %T') " timestamp="$(date +'%b %_d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG echo "${timestamp}$@" >> $STARTUP_LOG
fi fi
} }
@ -75,7 +75,7 @@ progress_message3() # $* = Message
fi fi
if [ $LOG_VERBOSITY -ge 0 ]; then if [ $LOG_VERBOSITY -ge 0 ]; then
timestamp="$(date +'%b %d %T') " timestamp="$(date +'%b %_d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG echo "${timestamp}$@" >> $STARTUP_LOG
fi fi
} }

View File

@ -43,7 +43,7 @@ progress_message() # $* = Message
fi fi
if [ $LOG_VERBOSITY -gt 1 ]; then if [ $LOG_VERBOSITY -gt 1 ]; then
timestamp="$(date +'%b %d %T') " timestamp="$(date +'%b %_d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG echo "${timestamp}$@" >> $STARTUP_LOG
fi fi
} }
@ -59,7 +59,7 @@ progress_message2() # $* = Message
fi fi
if [ $LOG_VERBOSITY -gt 0 ]; then if [ $LOG_VERBOSITY -gt 0 ]; then
timestamp="$(date +'%b %d %T') " timestamp="$(date +'%b %_d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG echo "${timestamp}$@" >> $STARTUP_LOG
fi fi
} }
@ -75,7 +75,7 @@ progress_message3() # $* = Message
fi fi
if [ $LOG_VERBOSITY -ge 0 ]; then if [ $LOG_VERBOSITY -ge 0 ]; then
timestamp="$(date +'%b %d %T') " timestamp="$(date +'%b %_d %T') "
echo "${timestamp}$@" >> $STARTUP_LOG echo "${timestamp}$@" >> $STARTUP_LOG
fi fi
} }

View File

@ -1,6 +1,6 @@
Changes in Shorewall 4.4.13.1 Changes in Shorewall 4.4.13.1
1) Fix date formatting problem. None.
Changes in Shorewall 4.4.13 Changes in Shorewall 4.4.13

View File

@ -1321,7 +1321,7 @@ hits_command() {
option= option=
;; ;;
t*) t*)
today=$(date +'^%b %d.*') today=$(date +'^%b %_d.*')
option=${option#t} option=${option#t}
;; ;;
*) *)

View File

@ -1028,7 +1028,7 @@ hits_command() {
option= option=
;; ;;
t*) t*)
today=$(date +'^%b %d.*') today=$(date +'^%b %_d.*')
option=${option#t} option=${option#t}
;; ;;
*) *)