From: Gurusamy Sarathy Date: Mon, 24 Apr 2000 04:35:41 +0000 (+0000) Subject: pod nit: $yday range for localtime/gmtime is 0..364 not 1..365 (from X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=874b18133d8cd6ab29e7805e88ba1ecb668b632a;p=p5sagit%2Fp5-mst-13.2.git pod nit: $yday range for localtime/gmtime is 0..364 not 1..365 (from Mark-Jason Dominus) p4raw-id: //depot/perl@5913 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 5396fd1..b973a15 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -1983,7 +1983,7 @@ itself, in the range C<0..11> with 0 indicating January and 11 indicating December. $year is the number of years since 1900. That is, $year is C<123> in year 2023. $wday is the day of the week, with 0 indicating Sunday and 3 indicating Wednesday. $yday is the day of -the year, in the range C<1..365> (or C<1..366> in leap years.) +the year, in the range C<0..364> (or C<0..365> in leap years.) Note that the $year element is I simply the last two digits of the year. If you assume it is, then you create non-Y2K-compliant @@ -2351,7 +2351,7 @@ itself, in the range C<0..11> with 0 indicating January and 11 indicating December. $year is the number of years since 1900. That is, $year is C<123> in year 2023. $wday is the day of the week, with 0 indicating Sunday and 3 indicating Wednesday. $yday is the day of -the year, in the range C<1..365> (or C<1..366> in leap years.) $isdst +the year, in the range C<0..364> (or C<0..365> in leap years.) $isdst is true if the specified time occurs during daylight savings time, false otherwise.