Re: DateTime::TimeZone :: dieing on non existing timezone

2003-10-03 Thread Dave Rolsky
On Thu, 2 Oct 2003, Mathieu wrote: to my problem i didn't spotted ? If it's the proper way is there any chance it will be included in a future release ? It's definitely not the proper way, but I could be persuaded to add a DateTime::TimeZone-zone_name_is_valid method. -dave

DateTime::TimeZone :: dieing on non existing timezone

2003-10-02 Thread Mathieu
Hi, i'm looking for a way to find out if a timezone is valid. If i want to check a timezone using this module i instanciate an object with the provided name: my $otz = new DateTime::TimeZone( name = 'Europe/Paris' ); This name is valid so no problem, but if i try: my $otz = new

Re: DateTime::TimeZone :: dieing on non existing timezone

2003-10-02 Thread Flavio S. Glock
Mathieu wrote: Hi, i'm looking for a way to find out if a timezone is valid. If i want to check a timezone using this module i instanciate an object with the provided name: my $otz = new DateTime::TimeZone( name = 'Europe/Paris' ); This name is valid so no problem, but if i try: my