Webform datetime and time localisation for the given language of the page

Created on 15 April 2025, 8 days ago

Problem/Motivation

Example:

French time locale is normally 24h time.

English time locale is normally 12h time.

jQuery UI Datepicker currently provides the month, days of the week in the language of the page. English gets an English month, French gets French days of the week and months of the year.

HTML5 date does not respect the language of the page, it stays in the browser preferrred language.

So, with my clients language requirements the jQuery UI Datepicker supported by the webform_jqueryui_ datepicker module is what we need.

However we needed a bit more, we needed also 24h time for french.

So I came up with a new module called webform_datepicker_24h

Steps to reproduce

See issue summary

Proposed resolution

New module https://www.drupal.org/project/webform_datetime_24h

Remaining tasks

Documentation and or feedback from webform maintainers.

User interface changes

See issue summary

API changes

TBD

Data model changes

None

💬 Support request
Status

Active

Version

6.3

Component

Documentation

Created by

🇨🇦Canada joseph.olstad

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024