From 362ae058e533f214c8de9d94efd92f8f18b90496 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 3 May 2009 20:16:44 +0200 Subject: [PATCH] use generic timezone and better fixup logs for HTML in origdiff --- origdiff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/origdiff b/origdiff index 711e071c..bb2eb650 100755 --- a/origdiff +++ b/origdiff @@ -6,7 +6,7 @@ SCRIPT_DIR=$(pwd) if [ -n "$1" ]; then SRC_DATE="$1" - DST_DATE=`TZ=PST8PDT date +%Y-%m-%d` + DST_DATE=`TZ=America/Los_Angeles date +%Y-%m-%d` HG_COMM_DIR=/mnt/mozilla/hg/comm-central COMM_DIR=suite/themes/classic/ @@ -58,7 +58,7 @@ for repo in "COMM" "MOZ" "DOMI"; do echo "

$REPO_NAME Theme Changes

" >> $HTML_NAME echo "

$SRC_DATE to $DST_DATE

" >> $HTML_NAME echo "
" >> $HTML_NAME
-  sed -e "s/user:\(.*\)<\(.*\)>/user:\1\<\2\>/" \
+  sed -e "s/&/\&/g" -e "s//\>/g" \
       -e "s|\(changeset: *[0-9]*\):\([0-9a-f]*\)|\1:\2|" \
       $LOG_NAME >> $HTML_NAME
   echo "    
" >> $HTML_NAME -- 2.43.0