- ๐ซ๐ทFrance mably
You can simply use the code located here:
https://git.drupalcode.org/project/datetimehideseconds/-/blob/8.x-1.5/da...
// Remove seconds in browsers that support HTML5 type=date. $element['time']['#attributes']['step'] = 60;
The last 100 updated issues.
The last 7 days of comments and CI jobs.
You can simply use the code located here:
https://git.drupalcode.org/project/datetimehideseconds/-/blob/8.x-1.5/da...
// Remove seconds in browsers that support HTML5 type=date.
$element['time']['#attributes']['step'] = 60;