summaryrefslogtreecommitdiff
path: root/ext/POSIX
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-12-14 08:51:45 -0700
committerKarl Williamson <khw@cpan.org>2020-12-20 08:37:47 -0700
commitff22dd7054d2f46d7451cabb1722dcaa04f8a3d6 (patch)
treeff76ce306e08c33b1cac0afd11dc6130186eb1f3 /ext/POSIX
parent62e9eaa93fa2015420d8cdcaf7c1e83d1c846e57 (diff)
downloadperl-ff22dd7054d2f46d7451cabb1722dcaa04f8a3d6.tar.gz
POSIX::asctime pod: Note it always returns English
And give locale's alternative
Diffstat (limited to 'ext/POSIX')
-rw-r--r--ext/POSIX/lib/POSIX.pod4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/POSIX/lib/POSIX.pod b/ext/POSIX/lib/POSIX.pod
index e756a51963..a92a20c6d7 100644
--- a/ext/POSIX/lib/POSIX.pod
+++ b/ext/POSIX/lib/POSIX.pod
@@ -139,6 +139,10 @@ The C<$mon> is zero-based: January equals C<0>. The C<$year> is
1900-based: 2001 equals C<101>. C<$wday> and C<$yday> default to zero
(and are usually ignored anyway), and C<$isdst> defaults to -1.
+Note the result is always in English. Use C<L</strftime>> instead to
+get a result suitable for the current locale. That function's C<%c>
+format yields the locale's preferred representation.
+
=item C<asin>
This is identical to the C function C<asin()>, returning