Re: next Problems with Date.php 1.3.1 beta :(

From: Date: Mon, 04 Aug 2003 13:42:31 +0000
Subject: Re: next Problems with Date.php 1.3.1 beta :(
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-19257@lists.php.net to get a copy of this message
On 04 Aug 2003 15:27:34 +0200 Jan Jonas <jan.jonas@gmx.de> wrote: > Hi, > > thanks a lot for your fast answer :). Now 2 new Problem: > > The Date.php ver. 1.3.1 includes a file/class named "Date/Span.php;" > Where can I get it? In my opionion it is'nt a part of the Date-package > which i installed with > pear install Date You are right. I forgot to package it with the last (beta) release. You can find it in the pear cvs, see: http://cvs.php.net/co.php/pear/Date/Date/Span.php?login=2&r=1.4&p=1 > The Problem here ist the is_dst Paramater which is in the original > Version of Date.php is set to 0 or 1 (i don't know exactly). I think > -1 is much better; because then php tries to find out if it's winter- > or summertime. > Last year i developed with Date.php and I had the problem, that all my > date Objects were shifted by 1 hour then I recognized, that the > Date-class saved the values as summertime, but it was winter. Hmm, I'll look at it. but originally date works with date only. Date_Span allows to work with time spans. thanks for the reports, pierre

« previous php.pear.dev (#19257) next »