Commit 29617467 authored by catch's avatar catch
Browse files

Issue #3401464 by anushrikumari, sime, shweta__sharma, lauriii, ankithashetty,...

Issue #3401464 by anushrikumari, sime, shweta__sharma, lauriii, ankithashetty, sijumpk, rkoller: Date range should be in the date_time category

(cherry picked from commit 20c05b5c)
parent 50c767e5
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -16,7 +16,12 @@
 * @FieldType(
 *   id = "daterange",
 *   label = @Translation("Date range"),
 *   description = @Translation("Create and store date ranges."),
 *   category = "date_time",
 *   description = {
 *     @Translation("Ideal for storing durations that consist of start and end dates (and times)"),
 *     @Translation("Choose between setting both date and time, or date only, for each duration"),
 *     @Translation("The system automatically validates that the end date (and time) is later than the start, and both fields are completed"),
 *   },
 *   default_widget = "daterange_default",
 *   default_formatter = "daterange_default",
 *   list_class = "\Drupal\datetime_range\Plugin\Field\FieldType\DateRangeFieldItemList"