[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#707200: strftime not work %Om specification



Package: libc6
Version: 2.17-1

man page of strftime: http://linux.die.net/man/3/strftime

Some conversion specifications can be modified by preceding the
conversion specifier character by the E or O modifier to indicate that
an alternative format should be used. If the alternative format or
specification does not exist for the current locale, the behavior will
be as if the unmodified conversion specification were used. (SU) The
Single UNIX Specification mentions %Ec, %EC, %Ex, %EX, %Ey, %EY, %Od,
%Oe, %OH, %OI, %Om, %OM, %OS, %Ou, %OU, %OV, %Ow, %OW, %Oy, where the
effect of the Omodifier is to use alternative numeric symbols (say,
roman numerals), and that of the E modifier is to use a
locale-dependent alternative representation.

date +'%d %B %Om'

out: 08 Май 05
expect: 08 Май мая


Reply to: