PDA

View Full Version : problem with calendar


kalvin
05-02-2005, 08:49 AM
since may 1, my calendar shows the wrong day of the week, i.e. monday for may 1, 2005 ??
strange :oops:

Connie
05-02-2005, 08:54 AM
Kalvin,

which version are you using?

can you give us the URL of your website, so we can check it?

kalvin
05-02-2005, 09:13 AM
well connie thks in advance,
the url is www.ouvertures.info/pix

kalvin
05-02-2005, 09:14 AM
sorry version is pixelpost 1.4

Connie
05-02-2005, 10:55 AM
Kalvin,

you are right, it's the same in version 1.4.1, I checked it...

that is strange...

it sure is a mistake in the calendar-addon

we must keep an eye on it

so for the moment I suggest using a horizontal calendar... :cry:

Joe[y]
05-02-2005, 07:40 PM
I changed

$days = array("$lang_monday","$lang_tuesday","$lang_wednesday","$lang_thursday","$lang_friday","$lang_saturday","$lang_sunday");

to

$days = array("$lang_sunday","$lang_monday","$lang_tuesday","$lang_wednesday","$lang_thursday","$lang_friday","$lang_saturday");

which seemed to do the job for me.

tell me if this is wrong though. just as far as i'm concerned sunday is the first day of the week :P. this is a long shot but it seems ok on my temporaray calendar now!


EDIT : IGNORE THE ABOVE. JUST REALISED THE PROBLEM WAS ONLY WITH MAY.

kalvin
05-03-2005, 08:11 AM
thks and damned, Youaare really a doctor ...guru. It works, at least on a temporary basis. I tell you the issue next month
many thks :D

raminia
05-03-2005, 08:12 AM
yeah it should be more solid way . some bug inside the code

Joe[y]
05-04-2005, 03:39 PM
yes. that was merely a temporary idea!

there is definetely a more important bug but my php skills are definetely not a match for it! :?

-okapi-
05-04-2005, 08:29 PM
i suggested it already in another posting, and fixing this bug could now be a chance to rewrite the calendar addon in that way, that months are shown according to the images displayed!

i think everyone would like this!

kalvin
05-05-2005, 12:32 PM
I entirely agree okapi ... and I am on the way to rewrite the addon.will tell you asap

-okapi-
05-05-2005, 12:56 PM
great news, kalvin!

i'm looking forward to a dynamic calendar!