On Tue May 15 12:52:55 2012, autarch@urth.org wrote:
Show quoted text> On Tue, 15 May 2012, Anthony J Lucas via RT wrote:
>
> > Given that this module is intended to be used as a base for format
> parsers in the DateTime
> > family, it would be a nice feature if the DateTime class to use was
> not hardcoded, and was an
> > attribute or something similarly configurable / overridable.
> >
> > This would be very useful for situations when using a DateTime
> subclass or non-standard
> > DateTime object with the same interface / constructor signature.
> >
> > What do you think?
>
> I agree. This is a general problem with the DateTime ecosystem. Many
> modules assume they should call DateTime->new when it'd be nice to
> make
> this a parameter.
>
>
> -dave
>
>
/*=========================================================
===
Show quoted text==========================================================
==*/
I've definitely noticed the trend.
I was just in the middle of going through all of the modules I consider important to the
DateTime family.
If I wrote a patch for this, would it be accepted? Or did you already have something in mind?
Regards, Anthony L