Well that was always my intention.  I plan to allow the caller to
specify what exact rules to use since the spec basically allows very
little unless the parties agree.

However, I think that the default format (if nothing was specified)
should allow for parsing of common ISO8601 formats.

This need not be settled yet, I will try to get the module out so
people can better see what I have in mind and critique "working" code.

                 -ben

On Thu, Jun 19, 2003 at 11:35:58AM -0700, Bruce Van Allen wrote:
> An interesting challenge here might be to devise a way to allow DateTime to exploit 
> the full range of ISO 8601 formats, in cases where the user knows that the 
> appropriate agreements exist among the parties.
> 
> Perhaps a DT::F::ISO8601 parameter like
>    accept => ['YYYYDDD'],
> could be used, evoking the necessary routines to parse & format. (I put this in the 
> form of an array ref to handle multiple accepts.)
> 
> Just a thought.
> 
>  - Bruce

Reply via email to