From: Fabian Keil <fk@fabiankeil.de>
Date: Thu, 23 Jun 2011 14:02:53 +0000 (+0000)
Subject: Delimit the date in log messages with dashes instead of slashes
X-Git-Tag: v_3_0_18~209
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/developer-manual/static/@default-cgi@show-url-info?a=commitdiff_plain;h=28d428345824f45ac804986d045d1e6237bc75b9;p=privoxy.git

Delimit the date in log messages with dashes instead of slashes
---

diff --git a/tools/privoxy-regression-test.pl b/tools/privoxy-regression-test.pl
index 4c5ed9ee..43373772 100755
--- a/tools/privoxy-regression-test.pl
+++ b/tools/privoxy-regression-test.pl
@@ -7,7 +7,7 @@
 # A regression test "framework" for Privoxy. For documentation see:
 # perldoc privoxy-regression-test.pl
 #
-# $Id: privoxy-regression-test.pl,v 1.69 2011/05/08 13:29:59 fabiankeil Exp $
+# $Id: privoxy-regression-test.pl,v 1.70 2011/05/08 13:30:17 fabiankeil Exp $
 #
 # Wish list:
 #
@@ -1305,7 +1305,7 @@ sub log_message ($) {
         if ($leading_log_date) {
             $year += 1900;
             $mon  += 1;
-            $time_stamp = sprintf("%i/%.2i/%.2i", $year, $mon, $mday);
+            $time_stamp = sprintf("%i-%.2i-%.2i", $year, $mon, $mday);
         }
 
         if ($leading_log_time) {