Opened 15 years ago

Closed 5 years 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 15 years ago.
test that shows that date_time cannot parse it's own output

Download all attachments as: .zip

Change History (6)

by lothar, 15 years ago

Attachment: BoostDateTimeTest.cpp​ added

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

comment:1 by Marshall Clow, 13 years ago

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

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

comment:2 by James E. King, III, 5 years ago

Owner: changed from az_sw_dude to James E. King, III
Status: new → assigned

comment:3 by James E. King, III, 5 years ago

comment:4 by James E. King, III, 5 years ago

Milestone: To Be Determined → Boost 1.67.0
Version: → Boost 1.34.0

comment:5 by James E. King, III, 5 years ago

Resolution: → fixed
Status: assigned → closed

Fix merged to master; resolving.

Note: See TracTickets for help on using tickets.