Posted by Jochen Wendebaum on February 12, 2007 at 12:43pm
Jump to:
| Project: | Javascript Tools |
| Version: | 5.x-0.6 |
| Component: | Jscalendar |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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
#1
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
#2
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.
#3
#4
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
#5
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;