Skip to content
Snippets Groups Projects

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

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading