[Boost-bugs] [Boost C++ Libraries] #2635: date_time input_facet formatting

Subject: [Boost-bugs] [Boost C++ Libraries] #2635: date_time input_facet formatting
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-01-05 13:02:35


#2635: date_time input_facet formatting
-------------------------------------+--------------------------------------
 Reporter: tmmikolajczyk_at_[hidden] | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: None
  Version: Boost 1.37.0 | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 Hi,

 I've found a problem with the input_facet formating. The following format:
 "%Y-%m-%d"
 causes that the date: "1999-1-01" is allowed, but shouldn't be (month has
 to be in 2-digit format). See attached main.cpp file. It's a unit test
 clearly describing the problem. Tested on gcc 3.3.6 and 4.3.1.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2635>
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:59 UTC