Hello!
I have a problem with DateTime::set_time_zone(local) call: it says that
cannot determine local timezone. Actually, this behavior appeared when I
upgraded DateTime modules (and relatves). After little investigation I found
that since v0.12 (that I used before) there was changed local
That bit sets @Carp::CARP_NOT. In your code you should be setting
@Your::Module::CARP_NOT. It's intended to be set just once, like
@ISA, not just before calling carp.
Got it. I think this diff would do. Thanks for the pointer :)
Index: lib/DateTime/Format/Builder.pm
I'm trying to install DateTime-0.1901 for ActivePerl under Microsoft Windows
XP. I don't have a C compiler (but I don't need one, right?). I successfully
installed DateTime-TimeZone-0.2506 and DateTime-Locale-0.07. Basically,
*none* of the DateTime.pm tests are succeeding.
On Wed, 4 Feb 2004, Ilya A. Tereshchenko wrote:
my @t = gmtime;
my $local = Time::Local::timelocal(@t);
my $gm= Time::Local::timegm(@t);
return
DateTime::TimeZone::OffsetOnly-new
( offset =
So now I'm pondering on Ricks' suggestion that I should make
DT::F::Japanese behave more like (strp|strf)time. This is mainly me
talking to myself, but please pitch in if you have any ideas (especially
if you speak/read/write Japanese -- I know you guys are out there)
First, I need to enumerate
I'd like to rip out the traditional Japanese time support from
DT::C::Japanese and place it on its own module, so that a) I can use it
for Gregorian-based calendars and b) I can test it more thoroughly
(presumably it will be much faster, because I wouldn't have to worry
about calculating
Daisuke Maki wrote:
Now I noticed there isn't a namespace for this under DateTime. Is there
any namespace that is recommended? I guess it may not make sense to put
it under DateTime::, so would something like Time::Japanese work?
I've always thought there should be support and functionality for
On Wed, 4 Feb 2004, Daisuke Maki wrote:
My main concerns in trying to encode this into a (strp|strf)time-ish
format are as follows:
- Encoding is actually a combination of number representation
and whatever else format. for example, the era notation is
actually 1) era/roman 2)