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'm getting errors when submitting forms using the latest dev release with fields that are using drop down lists or the js calendar. I'm on UK dates (DD MM YYYY) and in short, it looks as though the format is getting muddled with US dates (MM DD YYYY) hence the form is complaining that month is 0-12, day is 0-31 etc.
I can send a more detailed bug report if this isn't easily repeatable.
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedThe jscalendar isn't used in the 5.2 version, which now includes a jquery popup calendar picker, so if you see any option to use jscalendar you aren't using 5.2. I'm almost ready to make 5.2 the recommended release, so I'm not trying to fix jscalendar issues any more.
If you're really using 5.2 and for some reason you still see jscalendar somewhere, you can re-open this with more information on exactly what you see and where you see it.
Comment #2
scedwar CreditAttribution: scedwar commentedSorry, I wrote "js calendar" as short for the "javascript calendar" which is, as you say, the jquery popup calendar.
I'm still on the same release so this may well have already been fixed, but the work around was to set the date format to YYYY MM DD to ensure the date is accepted.
Comment #3
KarenS CreditAttribution: KarenS commentedAs far as I can see the input format is working correctly, except there were some problems with disallowed formats (see http://drupal.org/node/249399).
Try the very latest code, with today's commits and be sure to edit your fields to be sure the input format is set as you want it. If you are still having problems there, please report more info about what type of date you've created and what input format you're trying to use, the PHP version you're on, etc etc.
Comment #4
KarenS CreditAttribution: KarenS commentedI can't replicate this, no response in eight weeks and lots of changes since, so assuming this is fixed.
Comment #5
scedwar CreditAttribution: scedwar commentedLet me double check this with the latest release on our system to check that this is clear.
Comment #6
KarenS CreditAttribution: KarenS commentedWe don't need to leave this issue open. You can reopen it if you have problems with the latest code. (You won't)
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.