[BUGS] Don't get caught this sunday with no DST changes

Edwin Groothuis edwin at mavetju.org
Thu Mar 27 21:21:20 EST 2008


On Thu, Mar 27, 2008 at 09:18:33PM +1100, matti k wrote:
> On Thu, 27 Mar 2008 20:39:30 +1100
> Edwin Groothuis <edwin at mavetju.org> wrote:
> 
> > And afterwards you should have:
> > 
> >     $ date -r `expr 1206529200` 
> >     Wed Mar 26 22:00:00 EST 2008
> >     $ date -r `expr 1206529200 + 86400 \* 7` 
> >     Wed Apr  2 22:00:00 EST 2008
> >     $ date -r `expr 1206529200 + 86400 \* 14` 
> >     Wed Apr  9 21:00:00 EST 2008
> > 
> > 22:00 - *22*:00 - 21:00
> > 
> > The 21 on 2 April has been changed to 22. That's the expected
> > behaviour.
> 
> Hi Edwin, is it committed, ie. a source upgrade before then will be
> ok?  Or something just for us (nsw-people) this year? 

If you run 6.3 or 7.0 it is part of the system (don't forget to run
tzsetup though). Anything lower should install misc/zoneinfo and
run tzsetup.

You can see if it all is fine if you run

    date -r `expr 1206529200 + 86400 \* 7`

and it returns 22:00.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |              Weblog: http://www.mavetju.org/weblog/



More information about the BUGS mailing list