Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
smart_date-3483466
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
smart_date-3483466
Commits
2d599e47
Commit
2d599e47
authored
2 months ago
by
Martin Anderson-Clutz
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3483082
by mandclu: Use the new durations overlay by default
parent
120741d7
Branches
4.2.x
Branches containing commit
Tags
4.2.0-beta2
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/Field/FieldWidget/SmartDateWidgetBase.php
+2
-2
2 additions, 2 deletions
src/Plugin/Field/FieldWidget/SmartDateWidgetBase.php
with
2 additions
and
2 deletions
src/Plugin/Field/FieldWidget/SmartDateWidgetBase.php
+
2
−
2
View file @
2d599e47
...
...
@@ -35,7 +35,7 @@ class SmartDateWidgetBase extends DateTimeWidgetBase {
'hide_date'
=>
TRUE
,
'allday'
=>
TRUE
,
'remove_seconds'
=>
FALSE
,
'duration_overlay'
=>
FALS
E
,
'duration_overlay'
=>
TRU
E
,
]
+
parent
::
defaultSettings
();
}
...
...
@@ -210,7 +210,7 @@ class SmartDateWidgetBase extends DateTimeWidgetBase {
'default_duration'
=>
60
,
'allday'
=>
TRUE
,
'remove_seconds'
=>
FALSE
,
'duration_overlay'
=>
FALS
E
,
'duration_overlay'
=>
TRU
E
,
];
}
$limits_to_check
=
[
'min'
,
'max'
];
...
...
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