Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
3d2d2a18
Verified
Commit
3d2d2a18
authored
Mar 11, 2018
by
Lee Rowlands
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2941646
by mr.baileys: Documentation on datetime #date_increment is incorrect/misleading
parent
8bf69b53
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/lib/Drupal/Core/Datetime/Element/Datetime.php
+7
-3
7 additions, 3 deletions
core/lib/Drupal/Core/Datetime/Element/Datetime.php
with
7 additions
and
3 deletions
core/lib/Drupal/Core/Datetime/Element/Datetime.php
+
7
−
3
View file @
3d2d2a18
...
...
@@ -181,9 +181,13 @@ public static function valueCallback(&$element, $input, FormStateInterface $form
* dynamic value that is that many years earlier or later than the current
* year at the time the form is displayed. Used in jQueryUI datepicker year
* range and HTML5 min/max date settings. Defaults to '1900:2050'.
* - #date_increment: The increment to use for minutes and seconds, i.e.
* '15' would show only :00, :15, :30 and :45. Used for HTML5 step values and
* jQueryUI datepicker settings. Defaults to 1 to show every minute.
* - #date_increment: The interval (step) to use when incrementing or
* decrementing time, in seconds. For example, if this value is set to 30,
* time increases (or decreases) in steps of 30 seconds (00:00:00,
* 00:00:30, 00:01:00, and so on.) If this value is a multiple of 60, the
* "seconds"-component will not be shown in the input. Used for HTML5 step
* values and jQueryUI datepicker settings. Defaults to 1 to show every
* second.
* - #date_timezone: The local timezone to use when creating dates. Generally
* this should be left empty and it will be set correctly for the user using
* the form. Useful if the default value is empty to designate a desired
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment