Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
224
Merge Requests
224
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
3d2d2a18
Unverified
Commit
3d2d2a18
authored
Mar 12, 2018
by
larowlan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2941646
by mr.baileys: Documentation on datetime #date_increment is incorrect/misleading
parent
8bf69b53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
core/lib/Drupal/Core/Datetime/Element/Datetime.php
core/lib/Drupal/Core/Datetime/Element/Datetime.php
+7
-3
No files found.
core/lib/Drupal/Core/Datetime/Element/Datetime.php
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment