Jeff Garland wrote:
Johan Nilsson wrote:
Jeff Garland wrote:
Johan Nilsson wrote:
[snip]
The example looks fine, but support for fractional seconds would also be needed.
Yep, I was making a quick sketch not a complete implementation....
As for the streaming business, I believe that you're suggesting not to implement direct streaming support for time_of_day, e.g.:
I wasn't suggesting either way for the long run. I'm happy to include time_of_day and streaming if we think it's useful. However, it was in my mind that you could take the tod stuff and use it now instead of waiting around 6 months for a boost release...
I've already implemented a workaround, but converting formatted clock times into ptimes with validation seems like a pretty common task to me. It's at least not the first time I've done something similar to that, and hopefully I'm not the only one ... +1 from my side for adding the functionality for e.g. release 1.35 Thanks for your help. // Johan