mxCalendar icon indicating copy to clipboard operation
mxCalendar copied to clipboard

translation and calculating problems

Open janein opened this issue 12 years ago • 6 comments

Hi! I have some troubles using the calendar view. first of all, the translation doesn't always work. most of the times the last part of the translation-key is being translated so that there is no match left. (see in the screenshot) further the calendar has troubles calculating the current month. it sets the right month on top (may) but starts listing the days of january.

this is my code: [[!mxCalendar? &ajaxResourceId=144 &theme=`` &tplMonth=tplMonth_custom &modalView=true ]] image

and i'm using the version 1.1.9 from github.

thanks for your help! ;-)

PS: also the ajax-stuff is not working. what exactly does it require? (but i guess that could be caused by an conflict with my other js, so don't bother)

janein avatar May 06 '13 14:05 janein

any chance you'd be able to send me Manager access to review? I'd like to see on your environment as that helps me ensure better resolution.

CharlesMx avatar May 06 '13 15:05 CharlesMx

sorry i can't do that. and i'm also working locally.

is there any other way i might help you?

janein avatar May 06 '13 15:05 janein

I need to know the language and local settings of your machine/server

CharlesMx avatar May 06 '13 18:05 CharlesMx

machine: Europe/Vienna UTC+01:00 language is german (de-DE)

PHP: timezone is Europe/Berlin (also UTC+01:00)

i'm using modx in german

anything else you would like to know?

janein avatar May 07 '13 07:05 janein

hi! just looked around on google and it seems to be an windows-bug. it is not possible to make "strftime('%u', TIMESTAMP)" on a windows7 machine. "strftime('%w', TIMESTAMP)" works just fine.

as the site won't be running on windows later i cann oversee this. but if you want to make your package windows-compatible your should keep an eye on this bug.

greets!

janein avatar May 07 '13 10:05 janein

Thanks for the update

CharlesMx avatar Jun 14 '13 16:06 CharlesMx