Opened 11 years ago

Closed 8 months ago

#1078 closed Bugs (fixed)

from_iso_string cannot read the output from to_iso_string

Reported by: Loïc Joly Owned by: James E. King, III
Milestone: Boost 1.67.0 Component: date_time
Version: Boost 1.34.0 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 (6)

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 ;-)

comment:2 Changed 9 months ago by James E. King, III

Owner: changed from az_sw_dude to James E. King, III
Status: newassigned

comment:3 Changed 9 months ago by James E. King, III

comment:4 Changed 8 months ago by James E. King, III

Milestone: To Be DeterminedBoost 1.67.0
Version: Boost 1.34.0

comment:5 Changed 8 months ago by James E. King, III

Resolution: fixed
Status: assignedclosed

Fix merged to master; resolving.

Note: See TracTickets for help on using tickets.