Hi all,

I have a problem with the jscalendar, that can best be viewed at these two screenshots (first from Opera, second IE7):

http://www.lsg-breitscheid.de/jscal1.png
http://www.lsg-breitscheid.de/jscal2.png

I get no chance to enter a date as the day fields don't get filled with the correct data.

I included the code corretly as documented:

  $form['iEndDate'] = array(
    '#type' => 'textfield',
    '#attributes' => array('class' => 'jscalendar'),
    '#default_value' => $object['iEndDate'],
  );

Any help is very appreciated,

kind regards,

Jochen

Comments

jochen wendebaum’s picture

Category: support » bug

in the meanwhile I found that the english version is working correctly, so I changed this issue from support request to bug report.

Thanks,
Jochen

ray007’s picture

Status: Active » Fixed

I have just committed the changed js-file also to the DRUPAL-4-7 branch, so you should be fine with either the next release or getting the file jscalendar/lib/lang/calendar-de.js from current cvs.

Anonymous’s picture

Status: Fixed » Closed (fixed)
brunodbo’s picture

Version: 4.7.x-1.x-dev » 5.x-0.6
Status: Closed (fixed) » Active

I'm having the same problem using:

- Drupal 5.1
- jstools 5.x-0.6 (I'm trying to use calendar-nl.js; the english version works fine, as mentioned above)
- date 5.x-1.5

rockafella’s picture

This is problem with file "calendar-nl.js"

Just add to code

// First day of the week. "0" means display Sunday first, "1" means display
// Monday first, etc.
Calendar._FD = 0;