logo       

Re: Daylight savings ending not being accounted for in grab_na: msg#00116

Subject: Re: Daylight savings ending not being accounted for in grab_na
On Mon, Oct 28, 2002 at 07:15:20PM +0000, Ed Avis wrote:
> 
> >2. zap2it over the time-change failed to provide listings that were
> >   consistant before or after the time-change.
> 
> Nothing you can do about that really.  So we just have to focus on
> listings that are definitely in one tz or the other.

Correct.  If Zap2it doesn't get it right, nothing we can do about it.
But the potential is there, from their point.  In the grid view, they
did repeat the 1:00am and 1:30am timeslots.  So they had the
infrastructure right, just didn't populate it correctly.

> Instead, IMHO, it should set this at configure time, since
> Date_TimeZone() returns the user's local tz which may not be correct.

I think I agree with this.  The timezone is tied to the postal/zip
code for the listings the user wants to grab, not necessarily the
timezone in the enviroment of the grabbing process.  The timezone the
user is in is a good default when asking what the time zone is though.

> When the location (postal or zip code) changes the tz may also
> change.  So it should be configured in the same place.

I agree with this (until somebody gives a good argument against :-).

> >8. since Date::Manip doesn't handle timezone changes, tv_grab_na has
> >   no way of knowing when the time change occurs.

Other than heuristically.  i.e. is the time >"2:00am last Sunday of
October"?

> However it would be possible to do what tv_grab_uk_rt does and have a
> library which know about the transitions to/from summer time and can
> deduce the correct tz given a date and time.

Right.  It is worth knowing that UNIX/Linux (and pressumably Windows)
seem to go to enough effort to know, for all timezones.  It would be
nice to leverage off of that information.  Because, as you will know
Jerry, not everywhere in NA observes DST.

> Or we could generalize the existing UK_TZ.pm library.  Ideally I would
> like to make an addition to Date::Manip for better tz handling (its
> biggest weak spot IMHO) and eventually get this included
> upstream.  But that's a way off yet.

Or get Date::Manip to leverage the database on the O/S.

b.

-- 
Brian J. Murrell

Attachment: pgpBWPOjUMv0z.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe