Here's a post I sent to reefknot-devel last night. In short,
Net::ICal in the Reefknot CVS just got the first bits of good
named-timezone support. It's far from complete yet, but it's a
working start. For information on where to get the CVS version,
see http://reefknot.sf.net.

I'm making an open call for bug reports and patches on Net::ICal;
I expect to make a release before the end of the week, if I don't
make a stopgap release before the end of the weekend.

Also, I need people to bash at Net::ICal::VTIMEZONES in Reefknot
CVS. This is a repackaging of the VTIMEZONE files distributed with
libical;  basically, it's timezone data which should be portable
across Perl platforms. Want to know when the DST switchover is in
Calcutta, if they have one? The VTIMEZONES will tell you.
(Net::ICal::Timezone parses these already, even, though the API
needs some work.)

There's a new Bundle::Net::ICal also in Reefknot CVS, which aims to
make it easier to get started with Net::ICal. I need someone to test
it on a fresh Perl install and tell me whether it does the right
thing before I put it on CPAN.

srl

(PS. This post brought to you by Rich Bowen, who pointed out to me
that mailing [EMAIL PROTECTED] is probably a good idea.)
-- 
Shane R. Landrum         [EMAIL PROTECTED]                "In the end,
you write the book that grabs you by the throat and demands to be written."
                                                          - Salman Rushdie

---------- Forwarded message ----------
Date: Sun, 25 Nov 2001 01:51:26 -0500 (EST)
From: srl <[EMAIL PROTECTED]>
To: Reefknot Developers' List <[EMAIL PROTECTED]>
Subject: Timezones work now

Yes, I know it's been a long time coming, but Net::ICal::Time
finally supports timezones. Excerpts from my cvs commits of the last
few minutes:

-----------------------------------------------------------------
> Modified Files:
>       Timezone.pm
> Log Message:
> A first guess at making Timezone useful; some API expansions,
> including all_timezones and current_offset. current_offset isn't
> right yet, at all; it assumes standard time. This'll have to
> work until we get the API and Time.pm a bit more cleaned up.

> Modified Files:
>       Time.pm
> Log Message:
> YAY! Added code to handle timezones properly in Net::ICal::Time.
> new() can now take a timezone parameter, which is an Olsen
> timezone name. It will set up the underlying Date::ICal offset
> property correctly, looking up the timezone's offset in the
> VTIMEZONE database.
-------------------------------------------------------------------

So, for those of you who've been throwing up your hands and saying
"timezones suck", help is at hand. The code doesn't yet handle
figuring out whether a timezone is currently in DST or not, but
that should be fairly easy to do.

So--- I need more tests. I need you to bash at this code and tell me
what's wrong with it. I'm leaving town on Friday and will be offline
for 5 days after that; I want to make an intermediate release of
Net::ICal, Bundle::Net::ICal, and Net::ICal::VTIMEZONE before then.
So, keep those comments coming. :)

srl
-- 
Shane R. Landrum         [EMAIL PROTECTED]                "In the end,
you write the book that grabs you by the throat and demands to be written."
                                                          - Salman Rushdie


Reply via email to