W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2008

perl/modules/W3C/LinkChecker/bin checklink,4.86,4.87

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 10 Feb 2008 13:18:03 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JOC4J-0000na-4h@lionel-hutz.w3.org>

Update of /sources/public/perl/modules/W3C/LinkChecker/bin
In directory hutz:/tmp/cvs-serv3046

Modified Files:
	checklink 
Log Message:
Increase resolution of shown times to 1/100th of a second.

Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 4.86
retrieving revision 4.87
diff -u -d -r4.86 -r4.87
--- checklink	10 Feb 2008 13:17:03 -0000	4.86
+++ checklink	10 Feb 2008 13:18:01 -0000	4.87
@@ -1689,7 +1689,7 @@
   for ($start[1], $stop[1]) {
     $_ /= 1_000_000;
   }
-  return(sprintf("%.1f", ($stop[0]+$stop[1])-($start[0]+$start[1])));
+  return(sprintf("%.2f", ($stop[0]+$stop[1])-($start[0]+$start[1])));
 }
 
 ########################
Received on Sunday, 10 February 2008 13:18:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:00 GMT