Open GoogleCodeExporter opened 9 years ago
Okay, just figured out an example using the QDateTime type in Qt. For a more
generic version, you'd need to parse out the ISO8601 date yourself and come up
with a C++ class to represent it or use time_t; QDateTime already has the logic
for parsing ISO8601.
I think this is probably the only native YAML type that is missing in yaml-cpp,
so if we could get some standard representation going, that'd make others'
integration efforts a lot easier.
Original comment by stua...@longlandclan.yi.org
on 10 Mar 2015 at 8:58
Attachments:
I'm not convinced this is something that should go in the library proper, since
it's not a native C++ data type. Maybe once I switch to C++11 this could be
used with the new date types.
Original comment by jbe...@gmail.com
on 10 Mar 2015 at 9:41
Original comment by jbe...@gmail.com
on 10 Mar 2015 at 9:41
Original issue reported on code.google.com by
stua...@longlandclan.yi.org
on 10 Mar 2015 at 2:40