Re: DateTime and Etc timezones

2016-06-27 Thread Steve James
o build in some more localization options into the system... need to do the various date formats mostly. -Steve On Mon, Jun 27, 2016 at 9:49 AM, Dave Rolsky <auta...@urth.org> wrote: > On Sun, 26 Jun 2016, Steve James wrote: > > I am the principal developer for the FreeToastHost web

Re: DateTime and Etc timezones

2016-06-26 Thread Steve James
to see... ᐧ On Sun, Jun 26, 2016 at 8:18 PM, Eric Brine <ikeg...@adaelis.com> wrote: > It does, however, support "+" and "-". > > $ perl -MDateTime -E'DateTime->today(time_zone => "+0600"); say "ok"' > ok > > > On S

Re: DateTime and Etc timezones

2016-06-26 Thread Steve James
stand what it is not already in the DateTime module. ;-( ᐧ On Sun, Jun 26, 2016 at 8:53 PM, Eric Brine <ikeg...@adaelis.com> wrote: > $timezone = sprintf("%+04d", $_*100) if $timezone =~ m{^Etc/GMT(.+)}; > > On Sun, Jun 26, 2016 at 11:44 PM, Steve James <4steveja...@gmail.co

DateTime and Etc timezones

2016-06-26 Thread Steve James
not support "Etc/" style names for timezones. (e.g. "Etc/GMT+6") For example, the following produces an exception for me when running in a plain vanilla test script: > my $today = DateTime->today(time_zone => 'Etc/GMT+6'); Is there something I am missing or is this a

DateTime and Etc timezones

2016-06-27 Thread Steve James
Is there something I am missing or is this as intended? -- *Steve James* *Cell:* 818-570-1197 *Email:* 4steveja...@gmail.com *Linkedin: **http://www.linkedin.com/in/sejames* <http://www.linkedin.com/in/sejames> ᐧ