DateTime::TimeZone::POSIX

2003-09-25 Thread Claus Färber
Hallo,

is someone working on a module that takes timezone strings from the
environment variable TZ as defined by POSIX:
http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html

Claus
-- 
http://www.faerber.muc.de



RE: DateTime::Event::Sunset problems

2003-09-25 Thread Hill, Ronald
Hi Matt,

 
 
[snipped]
 
 If not, at least make sure that the module clearly states the 
 UTC behavior.
 
 Matt
 

It does, from the POD

See DateTime::Set.

=head2 ($sunrise, $sunset) = $sunrise_object-($dt);

Internal method.

Returns two DateTime objects sunrise and sunset.
Please note that the time zone for these objects
is set to UTC. So don't forget to set your timezone!!

=head1 AUTHOR

Ron Hill


Re: DateTime::TimeZone::POSIX

2003-09-25 Thread Ben Bennett
Not that I have seen.  This would be tricky to do right.  I don't
think you can make arbitrary timezones easily.

Ideally the right thing to do would be to parse the TZ string and
find the Olsen entry that matches it, then use the Olsen ID.

In the cases where that does not exist, then you would have to make a
timezone object up that represents the rules for the TZ.  Perhaps you
can simply do this each time you parse a TZ...

Nonetheless, I think being able to parse TZs would be a great thing
for the DT project.

   -ben

On Thu, Sep 25, 2003 at 12:49:00PM +0200, Claus Färber wrote:
 Hallo,
 
 is someone working on a module that takes timezone strings from the
 environment variable TZ as defined by POSIX:
 http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html
 
 Claus
 -- 
 http://www.faerber.muc.de


RE: Install Problem with DateTime.pm

2003-09-25 Thread Hill, Ronald
Hello,

[snipped]

 
 I'm stumped..
 
 I have a problem installing DateTime.pm.  I get a LNK1106  
 U1077 with the 'nmake' command.  The messages for PERL- V and 
 'nmake' are below.  I am using Windows XP and VC++ 5
 
 I have plenty of available space on my hard drive and there 
 are no integrity problems.
 
 I have searched google and found some references to upgrading 
 to VC++ 6 would solve the problem, but before I spend the 
 cash, I would like some conformation of that.
 
 Has anyone encountered this problem before?  Got a solution?

[much snippage]

It seems that you are running the activestate version of perl.
The question now is did you install the precomiled version of perl
or did you download the source and build perl yourself?

If you installed the prebuild version of activestate perl
then you need to use the VC++ 6 to build your modules.

You can use ppm to install the DateTime modules unfortunately,
I have not built them yet [for that version of perl] :(

Ron Hill