I created a few events on my desktop and everything worked fine.

Later on I tried to update the events on my mobile devices and failed, because of an illegal time format.

On the desktop it looks like:
Desktop

On my mobile it looks like:
Mobile

The format "yyyy-mm-dd" works, but on the mobile "dd.mm.yyyy" is not recognized as a valid date.

Can the validation made more flexible, to recognize possible international date formats? I don't know why the mobile device (Android 7) changes this format automatically.

Comments

slowflyer created an issue. See original summary.

frankgraave’s picture

StatusFileSize
new262.97 KB

Hi slowflyer,

Thank you for reporting this bug, I've confirmed this bug on my mobile phone as well. We will look into this.

Frank

frankgraave’s picture

Title: Can't create events on mobile device - date picker issue » Can't create events on mobile or desktop device - date picker issue
StatusFileSize
new55.81 KB

Hi,

In the Drupal Slack #opensocial channel there was a related issue reported regarding the datepicker.
There are many different formats created by each device/browser that will not pass validation.

Reported datepicker issue from slack

peterpolman’s picture

Use a form_alter to add the novalidate attribute to the
element to disable browser validation. This will probably solve the issues and Drupal will handle the inputs validation after submitting the form.

jaapjan’s picture

jochemvn’s picture

Status: Active » Fixed

This issue is fixed and will be released as part of our 1.1 release.

  • jaapjan committed 7b69803 on 8.x-1.x
    Issue #2889883 by jaapjan, peterpolman: add novalidate attr on all forms...
  • def1d36 committed on 8.x-1.x
    Merge pull request #471 from goalgorilla/feature/2889883-novalidate...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.