> -Original Message-
> From: Garrett, Philip (MAN-Corporate)
[mailto:[EMAIL PROTECTED]
> Sent: Friday, March 17, 2006 7:14 PM
> To: datetime@perl.org
> Subject: Formatting dates for locales/time zones
>
> Hi list. Apologies in advance if the formatting is skewed -- using
> Outlook web acc
On Tue, 21 Mar 2006, Garrett, Philip (MAN-Corporate) wrote:
sub locale_date {
my ($date,$locale,$time_zone) = @_;
my $fmt = DateTime::Format::Strptime->new(pattern => '%b %Y',
locale => $locale, time_zone => $time_zone);
return $fmt->format_datetime($date); }
$d = DateTime->
> -Original Message-
> From: Dave Rolsky [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 21, 2006 4:49 PM
> To: Garrett, Philip (MAN-Corporate)
> Cc: datetime@perl.org
> Subject: RE: Formatting dates for locales/time zones
>
> On Tue, 21 Mar 2006, Garrett, Phil
On 3/21/06 Garrett, Philip (MAN-Corporate) wrote:
>> > So is cloning really the only way to do this?
>>Dave Rolsky answered:
>> I'm afraid so. But that's what the clone api is for. I'm not sure
>> why you're averse to it, it's actually implemented in a way that
>> should be quite fast.
>
>My avers
On Tue, 21 Mar 2006, Garrett, Philip (MAN-Corporate) wrote:
My aversion is more philosophical than practical. I'm working on
internationalizing some software right now, and (of course) one of the
main goals is to decouple presentation from data. I chose DateTime for
my date needs only to later f
> -Original Message-
> From: Dave Rolsky [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 22, 2006 12:17 AM
> To: datetime
> Subject: RE: Formatting dates for locales/time zones
>
> On Tue, 21 Mar 2006, Garrett, Philip (MAN-Corporate) wrote:
>
> > My avers
On Wed, 22 Mar 2006, Garrett, Philip (MAN-Corporate) wrote:
On Tue, 21 Mar 2006, Garrett, Philip (MAN-Corporate) wrote:
My aversion is more philosophical than practical. I'm working on
internationalizing some software right now, and (of course) one of
the main goals is to decouple presentation