Opened 14 years ago
Last modified 14 years ago
#2635 new Bugs
date_time input_facet formatting
Reported by: | Owned by: | az_sw_dude | |
---|---|---|---|
Milestone: | Boost 1.38.0 | Component: | date_time |
Version: | Boost 1.37.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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.
Attachments (1)
Change History (2)
by , 14 years ago
comment:1 by , 14 years ago
Component: | None → date_time |
---|---|
Owner: | set to |
Note:
See TracTickets
for help on using tickets.