summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xhtgen3
1 files changed, 1 insertions, 2 deletions
diff --git a/htgen b/htgen
index 725332e..ce367ca 100755
--- a/htgen
+++ b/htgen
@@ -33,8 +33,7 @@ EOF
## }}}
## date. {{{
-#date=`date --rfc-3339=ns`
-date="`date '+%Y-%m-%d %H:%M:%S'`"
+date=$(date '+%Y-%m-%d %H:%M:%S')
cat>&2<<EOF
# ${TCPREMOTEHOST-}[$TCPREMOTEIP]:$TCPREMOTEPORT connected at $date over $PROTO