Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ strftime(4) — NEWS-os 5.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ctime(3C)

setlocale(3C)

strftime(3C)



strftime(4)               FILE FORMATS                strftime(4)



NAME
     strftime - language specific strings

DESCRIPTION
     There can exist one printable file per locale to specify its
     date  and  time formatting information.  These files must be
     kept in the directory /usr/lib/locale/<locale>/LCTIME.  The
     contents of these files are:

     1. abbreviated month names (in order)

     2. month names (in order)

     3. abbreviated weekday names (in order)

     4. weekday names (in order)

     5. default strings that specify formats for locale time (%X) and
               locale date (%x).

or null.
     6. default format for cftime, if the argument for cftime is  zero

     7. AM (ante meridian) string

     8. PM (post meridian) string

     Each string is on a line by itself. All white space is  sig-
     nificant.  The order of the strings in the above list is the
     same order in which they must appear in the file.

EXAMPLE
     /usr/lib/locale/C/LCTIME

     Jan
     Feb
      ...
     January
     February
      ...
     Sun
     Mon
      ...
     Sunday
     Monday
      ...
     %H:%M:%S
     %m/%d/%y
     %a %b %d %T %Z %Y
     AM
     PM




                                                                1





strftime(4)               FILE FORMATS                strftime(4)



FILES
     /usr/lib/locale/<locale>/LCTIME directory that contains the
     language-specific printable files

SEE ALSO
     ctime(3C), setlocale(3C), strftime(3C).

















































                                                                2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026