diff options
author | 積丹尼 Dan Jacobson <jidanni@jidanni.org> | 2023-04-24 15:46:24 +0800 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2023-05-01 07:15:42 -0600 |
commit | 6bbe21a508a82ef4a3849bd69a435b3cf8d5bf40 (patch) | |
tree | 3173769a77c2c7d8b9baf0c62c21e5954e993ba6 | |
parent | 767404768d470ee44c961223a208f0226acea674 (diff) | |
download | perl-6bbe21a508a82ef4a3849bd69a435b3cf8d5bf40.tar.gz |
Still cleaning up Y2K residue
Else... you'll get something recognizable back last century (e.g., 99 for 1999) , but what currently (123) looks more like https://en.wikipedia.org/wiki/Republic_of_China_calendar (112) than anything anyone else on the planet would understand!
Also, my correction ensures the man page will still be correct after the year 9999!
-rw-r--r-- | pod/perlfunc.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 1b30513902..6f9e63c72f 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -4193,7 +4193,7 @@ This makes it easy to get a month name from a list: print "$abbr[$mon] $mday"; # $mon=9, $mday=18 gives "Oct 18" -C<$year> contains the number of years since 1900. To get a 4-digit +C<$year> contains the number of years since 1900. To get the full year write: $year += 1900; |