diff options
author | Karl Williamson <khw@cpan.org> | 2023-04-26 15:36:54 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2023-05-03 11:16:34 -0600 |
commit | 4d9b15204f627d9337665bd88adc71cd3bd1ca55 (patch) | |
tree | e46623352027fb3a84b5f38c8563e721367b1883 | |
parent | 05e20b67a8c9b144a80337d9478ec0cb9a5b2374 (diff) | |
download | perl-4d9b15204f627d9337665bd88adc71cd3bd1ca55.tar.gz |
perlapi: Fix strftime inaccuracies, clarify
The deficiency mention removed by this commit was fixed earlier, but the
documentation did not get updated.
-rw-r--r-- | locale.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -4810,12 +4810,13 @@ to the formatted result (which MUST be arranged to be FREED BY THE CALLER). This allows this function to increase the buffer size as needed, so that the caller doesn't have to worry about that. +On failure it returns NULL. + Note that yday and wday effectively are ignored by this function, as -mini_mktime() overwrites them +mini_mktime() overwrites them. -Also note that it is always executed in the underlying locale of the program, -giving localized results. Mojibake can result on some platforms if LC_CTYPE -and LC_TIME are not the same locale. +Also note that it is always executed in the underlying C<LC_TIME> locale of +the program, giving results based on that locale. =cut */ |