Forums | Mahara Community

Support /
Calendar Bug?


anonymous profile picture
Account deleted
Posts: 105

06 October 2010, 13:01

Hi guys,

just noticed some strange behavior of the calendar in the view access section. Is this maybe a language pack error? I guess it says smth like "week undefined"

Cheers Alex

Heinz Krettek's profile picture
Posts: 480

06 October 2010, 13:58

Hi Alex,

which versoin do you play with. Do you notice this behavior if you use the english langpack or only in the german langpack?

Cheers Heinz

anonymous profile picture
Account deleted
Posts: 105

06 October 2010, 15:07

I'm currently on Mahara 1.3.

The calendar is working just fine when I'm switching to the english langpack. Any ideas on how to fix this? Should I file a bug report?

Heinz Krettek's profile picture
Posts: 480

07 October 2010, 14:40

Hi,

the calendar ist no into the German langpack; it's int othe core code js/jscalendar/lang/calendar-de.js

I don't see why this happens.

Cheers

Heinz

anonymous profile picture
Account deleted
Posts: 105

13 October 2010, 5:50

That's really strange. Anyone else experiencing this problem?

anonymous profile picture
Account deleted
Posts: 18

13 October 2010, 7:21

Hi,

The problem seems to be a missing variable in the localization files

Just add  Calendar._FD=0;  in js/jscalendar/lang/calendar-de.js

works for me

Cheers

Florian

anonymous profile picture
Account deleted
Posts: 105

13 October 2010, 8:39

@Florian:

Thx this fixed the problem. How come this isn't included in the standard Code?

@Mahara Developers:

Please change:

Calendar._TT["WK"] = "wk";  [/code]

to

Calendar._TT["WK"] = "Woche";

anonymous profile picture
Account deleted
Posts: 105

13 October 2010, 8:44

Great calendar works now but dates aren't entered in the right format!

Mahara expect dates to be entered as YYYY/MM/DD hh:mm but the calendar is set to enter dates and time as:

Calendar._TT["DEF_DATE_FORMAT"] = "%d.%m.%Y";
Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e";

Did nobody notice this before or am I running on old code?

Alex

Heinz Krettek's profile picture
Posts: 480

13 October 2010, 9:02

Hi Alex,

the js is in the core code, so the core developer are the people to ask ;-)

What happens with the display if we change "wh" to "Woche"?

Cheers

Heinz

anonymous profile picture
Account deleted
Posts: 105

15 October 2010, 11:54

"Woche" makes everthing look a bit squeezed :(

Are any other users of the German lang pack experiencing problems with the date format that is being generated by the calendar?

Developers plz help :)

20 results