> On Fri, 2 Jul 2004, Rick Measham wrote:
> > I'd also like to see a class based (rather
> > than object based) ability
> > to set the local time zone, probably through
> > the import:
> >
> > use DateTime local => 'Australia/Melbourne';
> >
> > Then all constructors would use that as the
> > local (default) zone.
>
> Hmm, that's an interesting idea. How about
> making it something you did
> with DateTime::TimeZone instead of DateTime?
>
How about make it work just like the
DefaultLocale() class method, or at least,
make both use the same syntax.
use DateTime time_zone => 'Australia/Melbourne',
locale => 'en_US';
- Flavio S. Glock