From: Jeff Garland (jeff_at_[hidden])
Date: 2006-12-08 12:45:55
Martin Adrian wrote:
> More date_time facet comments:
> It is not possible to set the date duration format. Date durations are streamed
> using the number format.
> This means that I can't set it to the XML schema standard for durations [-]PnnD
> (e.g -P120D for -120 days)
Sadly this is true. To do it, we need a new format specifier, a new method in
the date_facet, etc. I'm thinking maybe %dd for the specifier? And then
you'd want a method to set the format like this:
date_facet* df = new date_facet();
where the %- controls the sign output. Of course it could default to
something like this.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk