summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-04-24 04:35:41 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-04-24 04:35:41 +0000
commit874b18133d8cd6ab29e7805e88ba1ecb668b632a (patch)
tree5e51449636af4c194248418f35e914edd44d69dd /pod/perlfunc.pod
parent46e4b22b349f2fc617bcb5c937a01a6be391d76f (diff)
downloadperl-874b18133d8cd6ab29e7805e88ba1ecb668b632a.tar.gz
pod nit: $yday range for localtime/gmtime is 0..364 not 1..365 (from
Mark-Jason Dominus) p4raw-id: //depot/perl@5913
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 5396fd1945..b973a15999 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<not> 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.