diff options
author | Karl Williamson <khw@cpan.org> | 2017-09-11 09:48:33 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-09-14 22:19:53 -0600 |
commit | 3ae5cd075d1d8f700862413406a49dc4a2f4a8ea (patch) | |
tree | bf8bc5212d70749c27d97f3e6a0877f273bcd241 | |
parent | c2b4244a1cd5bb89e0df552475efbb59ea37e706 (diff) | |
download | perl-3ae5cd075d1d8f700862413406a49dc4a2f4a8ea.tar.gz |
locale.c: Show how the number '112' was derived
It's unclear why the code uses this number, so expand out the expression
that yields that, which makes it clearer.
-rw-r--r-- | locale.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3045,7 +3045,7 @@ Perl__is_cur_LC_category_utf8(pTHX_ int category) for (i = 0; i < 7 + 12; i++) { /* 7 days; 12 months */ formatted_time = my_strftime("%A %B %Z %p", - 0, 0, hour, dom, month, 112, 0, 0, is_dst); + 0, 0, hour, dom, month, 2012 - 1900, 0, 0, is_dst); if ( ! formatted_time || is_utf8_invariant_string((U8 *) formatted_time, 0)) { |