Skip to content

Commit

Permalink
perlapi: Fix description of my_strftime()
Browse files Browse the repository at this point in the history
I realized that the pod added in
86a9c18 is somewhat wrong.
The is_dst parameter to my_stftime() also occurs in sv_strftime_ints(),
but in the former it is ignored.
  • Loading branch information
khwilliamson committed Jun 25, 2024
1 parent 07c2d06 commit 79fed32
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions locale.c
Original file line number Diff line number Diff line change
Expand Up @@ -8113,12 +8113,14 @@ S<C<SV *>>.
This means the UTF-8ness of the result is unspecified. The result MUST be
arranged to be FREED BY THE CALLER).
=item It has extra parameters C<yday>, C<wday> and C<is_dst>.
=item The C<is_dst> parameter is ignored.
These are completely ignored, and exist only for historical reasons.
Daylight savings time is never considered to be in effect.
Daylight savings time is never considered to be in effect, and C<yday> and
C<wday> are calculated from the other arguments.
=item It has extra parameters C<yday> and C<wday> that are ignored.
These exist only for historical reasons; the values for the corresponding
fields in S<C<struct tm>> are calculated from the other arguments.
=back
Expand Down

0 comments on commit 79fed32

Please sign in to comment.