#2794481: Allow end date to be optional will allow for the end value to be NULL.
Could you add an option for that NULL to be treated as current date?
For HTML date and #3013519: Option to show both the range and the diff that would look:

2010-01 - present (18 years, 11 months)

Thank you.

Comments

dalra created an issue. See original summary.

viappidu’s picture

StatusFileSize
new1.87 KB

Not sure if this will work, I am not applying the drupal patch just yet.
Just added to the code
if (empty($item1->end_date) || is_null($item->end_date)) {
$item->end_date = new DrupalDateTime(date());
}

viappidu’s picture

Version: 8.x-1.0 » 8.x-1.1
Status: Active » Needs review

Patch applied to release 1.1. Need somebody with #2794481: Allow end date to be optional to test

bobooon’s picture

StatusFileSize
new823 bytes

New patch to support optional end date on the group field formatter.

viappidu’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.