Closed (fixed)
Project:
Javascript Tools
Version:
master
Component:
Jscalendar
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Dec 2006 at 02:00 UTC
Updated:
22 Feb 2007 at 17:45 UTC
I am not sure if this is a configuration problem for me or even if it's a bug in jscalendar.
I'm running drupal 5.0b2, and head versions of cck, and date, and the jscalendar from here: http://drupal.org/node/81691
The jscalendar date picker always shows the time, even when the date field doesn't have a time, only a date.
Is this working for other folks?
cheers,
-o
Comments
Comment #1
karens commentedI think this is some kind of a bug in the HEAD version of jscalendar (which has not yet been committed). I tried that patch and It seems to be ignoring the format and time settings that the date module has provided and is using the default values instead.
I'm going to move this issue over to the jstools issue queue so someone can evaluate it.
Comment #2
alexis commentedAny update on this? I'm also trying to get rid of the time but using '#jscalendar_showsTime' => 'false' in my form doesn't work.
Thanks!
Comment #3
nedjoSee some further details on this issue here: http://drupal.org/node/81691.
I've made another blind attempt at a fix (changing underscore in the element id to a dash, on the assumption the problem may come from
form_clean_id()conversion). I'm hampered by not having any examples to work from. If this latest attempted fix doesn't work, I'd appreciate a link to a site running some code so I can see the HTML generated.Comment #4
oliver soell commentedthis now works for me. Thanks!
(using date module + jscalendar display)
cheers,
-o
Comment #5
nedjoThanks, I'll mark this fixed then.
Comment #6
alexis commentedOliver, how did you get it working?
I grabbed jscalendar from Drupal's CVS and applied to my Drupal 5 installation and still '#jscalendar_showsTime' => 'false' is not working.
I'm seeing the time in the calendar and it's appearing in my text field.
My jscalendar.js version:
// $Id: jscalendar.js,v 1.9 2007/02/02 03:24:25 nedjo Exp $
Thanks!
Comment #7
alexis commentedExcuse me, my mistake. I had checked out just jscalendar, now I checked out the whole jstools directory and everything works as expected.
Thanks guys!
Comment #8
(not verified) commented