Changes between Version 3 and Version 4 of Ticket #17884, comment 4


Ignore:
Timestamp:
Sep 28, 2022, 9:19:21 PM (4 months ago)
Author:
cocobean

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17884, comment 4

    v3 v4  
    332. Haiku hrev56417 x64: FAILED test 1-1 and 2-1 strftime POSIX tests. (MUSL)
    44
    5 On Haiku hrev56417 x64, setting LC_TIME=C fixed POSIX test 2-1 (i.e. test 2-1 now passes testing fully, but not 1-1 (i.e. test 1-1 still fails one minor test) on hrev56416 x64. I'll direct the issue to MUSL dev. Seems locale support is an open issue on MUSL wiki (https://wiki.musl-libc.org/open-issues.html):
     5On Haiku hrev56417 x64, setting LC_TIME=C fixed POSIX test 2-1 (i.e. test 2-1 now passes testing fully, but not 1-1 (i.e. test 1-1 still fails one minor test) on hrev56416 x64.
    66
    7 "Locale limitations"
     7
     8{{{
     9Per C99 compliance:
     10
     117.23.3.5 The strftime function
     12strftime provides a way of formatting the date and time in the appropriate locale-specific
     13fashion using the %c, %x, and %X format specifiers. More generally, it allows the programmer to
     14tailor whatever date and time format is appropriate for a given application. The facility is
     15based on the UNIX system date command.
     16
     17See §7.5 for further discussion of locale specification. For the field controlled by %P,
     18an implementation may wish to provide special symbols to mark noon and midnight.
     19
     20A new feature of C99: C99 extends the strftime specifiers, introducing %C, %D, %e, %F, %g,
     21%G, %h, %n, %r, %R, %t, %T, %u and %V, as well as the E and O modifiers. These specifiers were
     22chosen according to existing practice to cover long-standing POSIX practice and to allow all the
     23formatting available in ISO 8601.
     24}}}
     25