Subject: Re: [Boost-bugs] [Boost C++ Libraries] #187: locale
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-05-21 15:48:33
#187: locale
-------------------------------+--------------------------------------------
Reporter: tazforever | Owner: nobody
Type: Feature Requests | Status: assigned
Milestone: | Component: date_time
Version: None | Severity: Showstopper
Resolution: None | Keywords:
-------------------------------+--------------------------------------------
Changes (by grafik):
* component: None => date_time
* severity: => Showstopper
Old description:
> {{{
> this short example
>
> #include <boost/date_time/gregorian/gregorian.hpp>
> #include <iostream>
>
> using namespace boost::gregorian;
> using namespace std;
>
> int main()
> {
> date d(day_clock::local_day());
> cout << d << endl;
> }
>
> outputs
>
> 2003-Aug-01
>
> I'm French. Is there any thing that deals with locale
> in boost ?
> i'd like somthing so i can display date (and other
> things in date_time) the way i understand (like
> 01-Aou-2003, 01082003 or 01-08-2003)
> }}}
New description:
{{{
this short example
#include <boost/date_time/gregorian/gregorian.hpp>
#include <iostream>
using namespace boost::gregorian;
using namespace std;
int main()
{
date d(day_clock::local_day());
cout << d << endl;
}
outputs
2003-Aug-01
I'm French. Is there any thing that deals with locale
in boost ?
i'd like somthing so i can display date (and other
things in date_time) the way i understand (like
01-Aou-2003, 01082003 or 01-08-2003)
}}}
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/187#comment:1>
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:49:55 UTC