Re: PEAR::Date::getDayofWeek

From: Date: Thu, 27 Mar 2003 13:56:49 +0000
Subject: Re: PEAR::Date::getDayofWeek
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-14674@lists.php.net to get a copy of this message
On Thu, 2003-03-27 at 13:16, Lukas Smith wrote: > just wanted to hear what other people think. > getDayOfWeek always returns Sunday as 0 regardless of what > DATE_CALC_BEGIN_WEEKDAY is set to be. > > This is documented as follows: > Returns day of week for given date, 0=Sunday > > I think it would be cleaner to respect the setting of > DATE_CALC_BEGIN_WEEKDAY would be respected in getDayOfWeek. Agreed. While you are on it, could you perhaps also have a look at http://bugs.php.net/22549? - Martin

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