Modify

Opened 9 years ago

Last modified 9 years ago

#2635 new Bugs

date_time input_facet formatting

Reported by: tmmikolajczyk@… 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)

main.cpp (1.2 KB) - added by anonymous 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by anonymous

Attachment: main.cpp added

comment:1 Changed 9 years ago by Steven Watanabe

Component: Nonedate_time
Owner: set to az_sw_dude

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain az_sw_dude.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.