Re: Problems with Calender.pm (day_of_week)

From: Dmitry Karasik <dmitry_at_karasik.eu.org>
Date: 27 Aug 2003 10:24:44 +0200
To: prima_at_prima.eu.org

        Hi Johannes!

On 27 Aug 03 at 09:11, "Johannes" (Johannes Blankenstein) wrote:

 Johannes> 1. It seems that the DayOfWeek algorithm has a bug. You will
 Johannes> find the corrected version below. That was the big problem! ;-)

Fixed, thanks a lot!

 Johannes> 2. Now the small problem. ;-) I would like to display the week
 Johannes> beginning with Monday as this is the default in Germany. Is
 Johannes> there any chance doing that with this module?

I couldn't find a locale-dependent way to set it up, so there's a
new property - Calendar::firstDayOfWeek. Set it to 1 and the week
will begin from Monday, ( or 2 from Tuesday :)

And yes, cvsup the latest Prima ( see http://www.prima.eu.org/ for
instructions ) to see the changes.

-- 
Sincerely,
	Dmitry
--- www.karasik.eu.org ---
Life ain't fair, but the root password helps.
                      - BOFH
Received on Wed 27 Aug 2003 - 10:25:18 CEST

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:04 CET