Modify

Opened 10 years ago

Last modified 9 years ago

#1078 new Bugs

from_iso_string cannot read the output from to_iso_string

Reported by: Loïc Joly Owned by: az_sw_dude
Milestone: To Be Determined Component: date_time
Version: Severity: Problem
Keywords: Cc:

Description

to_iso_string handle special date values (ie -infinity), from_iso_string does no handle them. I think it would be better if the from_... and the to_... were exactly symetrical, and enabled a roundtrip.

Attachments (1)

BoostDateTimeTest.cpp (23.0 KB) - added by lothar 10 years ago.
test that shows that date_time cannot parse it's own output

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by lothar

Attachment: BoostDateTimeTest.cpp added

test that shows that date_time cannot parse it's own output

comment:1 Changed 9 years ago by Marshall Clow

Summary: from_iso_string cannot read the output from to_iso_stringfrom_iso_string cannot read the output from to_iso_string

Removed <tab> character from the title - messing up my reports ;-)

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.