From b773a4f803c313db17a3b04e096448f1295195c0 Mon Sep 17 00:00:00 2001 From: drbrain Date: Mon, 30 Jul 2012 21:18:29 +0000 Subject: * time.c (time_sec): Remove extra wording about leap seconds and refer directly to Wikipedia's leap second page for further information. [Bug #6749] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- time.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'time.c') diff --git a/time.c b/time.c index a52dffddb5..fbae712731 100644 --- a/time.c +++ b/time.c @@ -3884,11 +3884,10 @@ time_round(int argc, VALUE *argv, VALUE time) * time.sec -> fixnum * * Returns the second of the minute (0..60) for time. - * [Yes, seconds really can range from zero to 60. This allows the - * system to inject leap seconds every now and then to correct for the - * fact that UTC is based on solar time so days are not exactly 86400 - * seconds or 24 hours long. See http://en.wikipedia.org/wiki/Leap_second - * for further details.] + * + * [Yes, seconds range from zero to 60. This allows the system to inject + * leap seconds. See http://en.wikipedia.org/wiki/Leap_second for further + * details.] * * t = Time.now #=> 2007-11-19 08:25:02 -0600 * t.sec #=> 2 -- cgit v1.2.3