Resolve #2834016 "Add 'Compact' datetime range formatter"
Closes #2834016
Here is a revised port of daterange_compact. It's close to the original module in that it introduces a new configuration entity with specific formats for same day, same month, same year ranges.
Includes a couple of other features that have been requested previously, namely omitting minutes when they are zero, and omitting duplicate am/pm from a range.
Although primarily for ranges, the widget also handles datetime and timestamp field types.
Edited by drupalbot