Alternative date formats

To support alternative date formats in an display format, GL_DATE accepts the conversion modifiers.

The O (the letter O) conversion modifier indicates use of locale-defined alternative digits.

These date-formatting directives can support conversion modifiers.
Date format Description
%Od Is replaced by the day of the month in the alternative digits that the locale defines (same as %d if locale does not define alternative digits).
%Oe Is the same as %Od (or %e if locale does not define alternative digits).
%Om Is replaced by the month in the alternative digits that the locale defines (same as %m if locale does not define alternative digits).
%Ow Is replaced by the weekday as a single-digit number (0 through 6) in the alternative digits that the locale defines (same as %w if locale does not define alternative digits). The equivalent of zero (0) represents the locale equivalent of Sunday.
%Oy Is replaced by the year as a two-digit number (00 through 99) in the alternative digits that the locale defines (same as %y if locale does not define alternative digits). For information about how to format a year value, see the description of %y.

The NUMERIC category of the locale defines the alternative digits for a locale (which the %Ox formatting directives use).