Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a CCK content type that includes a date field using the jscalendar selector.
When I use the jscalendar widget to select the date, or if I manually enter a value in the 'YYYY-MM-DD HH:MM:SS' format I cannot preview the node. If I try I get two 'Unable to set date. iso2arrayerror' messages. If I manually enter the 'T' between the date and time values the preview works. I can submit the node without previewing it and everything works fine without the 'T'. This happens in new nodes and existing nodes being edited.
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedThis may be related to several existing issues about cck preview problems (like http://drupal.org/node/60271). I'll look into this to be sure, but if it's a cck issue there may not be anything I can do in the date module to fix it.
Comment #2
KarenS CreditAttribution: KarenS commentedThe latest cvs fix of the date.module along with version 1.69 of the content.module should fix the preview problems.
Comment #3
dodorama CreditAttribution: dodorama commentedTested and works.
Thank You.
Comment #4
(not verified) CreditAttribution: commented