[Boost-bugs] [Boost C++ Libraries] #6581: Ordinal formatting does not work as documented

Subject: [Boost-bugs] [Boost C++ Libraries] #6581: Ordinal formatting does not work as documented
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-19 19:46:49


#6581: Ordinal formatting does not work as documented
---------------------------------+------------------------------------------
 Reporter: dtrebbien@… | Owner: artyom
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: locale
  Version: Boost 1.48.0 | Severity: Problem
 Keywords: |
---------------------------------+------------------------------------------
 The Boost.Locale page
 [http://www.boost.org/doc/libs/1_48_0/libs/locale/doc/html/localized_text_formatting.html
 Localized Text Formatting] mentions the following:

   The following format key-value pairs are supported:

   ...

    * `ord` or `ordinal` -- format an ordinal number (1st, 2nd... etc)

 Attached is a short program that tries both `ord` and `ordinal`. The
 actual output is:

 {{{
 1
 1
 }}}

 Expected output:

 {{{
 1st
 1st
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6581>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC