Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
smart_date
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
smart_date
Merge requests
!133
Add category for Field UI
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add category for Field UI
issue/smart_date-3457346:3457346-add-smart-date
into
4.1.x
Overview
0
Commits
3
Pipelines
4
Changes
2
Merged
Martin Anderson-Clutz
requested to merge
issue/smart_date-3457346:3457346-add-smart-date
into
4.1.x
11 months ago
Overview
0
Commits
3
Pipelines
4
Changes
2
Expand
Closes
#3457346
0
0
Merge request reports
Compare
4.1.x
version 3
5c4971f0
11 months ago
version 2
e82b0f8f
11 months ago
version 1
bbd01c39
11 months ago
4.1.x (base)
and
latest version
latest version
5c4971f0
3 commits,
10 months ago
version 3
5c4971f0
3 commits,
11 months ago
version 2
e82b0f8f
2 commits,
11 months ago
version 1
bbd01c39
1 commit,
11 months ago
2 files
+
7
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/Plugin/Field/FieldType/SmartDateItem.php
+
6
−
1
Options
@@ -13,7 +13,12 @@ use Drupal\Core\TypedData\DataDefinition;
* @FieldType(
* id = "smartdate",
* label = @Translation("Smart date range"),
* description = @Translation("Create and store timestamp ranges, with an intelligent UI."),
* description = {
* @Translation("Create and store events as timestamp ranges, for maximum performance."),
* @Translation("Able to handle timezones and recurring dates (with an optional submodule)"),
* @Translation("Provides an intuitive widget for easy entry, natural language formatting, and handles all day events too"),
* },
* category = "date_time",
* default_widget = "smartdate_inline",
* default_formatter = "smartdate_default",
* list_class = "\Drupal\smart_date\Plugin\Field\FieldType\SmartDateFieldItemList",
Loading