Formatter skips current occurrence for date-only fields

Created on 15 April 2019, over 5 years ago
Updated 23 April 2019, over 5 years ago

In D7 there was a field formatter configuration, where you could indicate to show occurrences starting from/ending on dates.
For example, like in this screenshot:
https://www.drupal.org/project/date/issues/1598832#comment-6037086 β†’

In D8 version, this setting doesn't exist, and by default any future occurrences are selected based on DATE >= NOW.

I have a DATE only field on a node (not storing TIME part). In this case, one of my recurring dates is saved as '2019-04-15' (considering the time is 00:00:00).

When I view the node on April 15th at, let's say, 3 PM, this occurrence is being skipped, though I would like users to see it as the node is still related to this date.

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Formatter

Created by

πŸ‡ΊπŸ‡ΈUnited States veronicaSeveryn

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024