- From: Mercurial notifier <nobody@w3.org>
- Date: Thu, 05 Aug 2010 14:47:12 +0000
- To: link-checker updates <www-validator-cvs@w3.org>
changeset: 216:46aad32138b9
user: ville
date: Sun Feb 10 13:18:01 2008 +0000
files: bin/checklink
description:
Increase resolution of shown times to 1/100th of a second.
diff -r abdbe693ca6b -r 46aad32138b9 bin/checklink
--- a/bin/checklink Sun Feb 10 13:17:03 2008 +0000
+++ b/bin/checklink Sun Feb 10 13:18:01 2008 +0000
@@ -5,7 +5,7 @@
# (c) 1999-2008 World Wide Web Consortium
# based on Renaud Bruyeron's checklink.pl
#
-# $Id: checklink,v 4.86 2008-02-10 13:17:03 ville Exp $
+# $Id: checklink,v 4.87 2008-02-10 13:18:01 ville Exp $
#
# This program is licensed under the W3C(r) Software License:
# http://www.w3.org/Consortium/Legal/copyright-software
@@ -244,7 +244,7 @@
$PROGRAM = 'W3C-checklink';
$VERSION = '4.3';
$REVISION = sprintf('version %s (c) 1999-2008 W3C', $VERSION);
- my ($cvsver) = q$Revision: 4.86 $ =~ /(\d+[\d\.]*\.\d+)/;
+ my ($cvsver) = q$Revision: 4.87 $ =~ /(\d+[\d\.]*\.\d+)/;
$AGENT = sprintf('%s/%s [%s] %s',
$PROGRAM, $VERSION, $cvsver, LWP::RobotUA->_agent());
@@ -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 Thursday, 5 August 2010 14:47:33 UTC