From 274c3c80b74c5c43a24c1d1cb6176ebf8ad51604 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Fri, 3 Oct 1997 16:04:25 +0000 Subject: [PATCH] switch to international standard date notation --- data/cgi/ports.cgi | 4 ++-- en/cgi/ports.cgi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/cgi/ports.cgi b/data/cgi/ports.cgi index b904531b3c..fa032be5e2 100755 --- a/data/cgi/ports.cgi +++ b/data/cgi/ports.cgi @@ -24,7 +24,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $Id: ports.cgi,v 1.3 1997-10-03 14:09:25 wosch Exp $ +# $Id: ports.cgi,v 1.4 1997-10-03 16:04:25 wosch Exp $ # # ports.cgi - search engine for FreeBSD ports # o search for a port by name or description @@ -113,7 +113,7 @@ sub last_update { }; while() { if (/^date/ && /^date\s+([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+);\s+/) { - $date = ($1 + 1900) . qq{/$2/$3 $4:$5:$6 UTC}; + $date = ($1 + 1900) . qq{-$2-$3 $4:$5:$6 UTC}; last; } } diff --git a/en/cgi/ports.cgi b/en/cgi/ports.cgi index b904531b3c..fa032be5e2 100755 --- a/en/cgi/ports.cgi +++ b/en/cgi/ports.cgi @@ -24,7 +24,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $Id: ports.cgi,v 1.3 1997-10-03 14:09:25 wosch Exp $ +# $Id: ports.cgi,v 1.4 1997-10-03 16:04:25 wosch Exp $ # # ports.cgi - search engine for FreeBSD ports # o search for a port by name or description @@ -113,7 +113,7 @@ sub last_update { }; while() { if (/^date/ && /^date\s+([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+);\s+/) { - $date = ($1 + 1900) . qq{/$2/$3 $4:$5:$6 UTC}; + $date = ($1 + 1900) . qq{-$2-$3 $4:$5:$6 UTC}; last; } }