The configured date format has no effect. I have configured the date format to show only the year, but the entire text string is displayed including day and month.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Søren Sjøstrøm created an issue. See original summary.

andileco’s picture

There's a "fix" identified in the related issue, which is to rewrite the field. It can pull from the alter text, but there's nothing in place to address formatters for dates. Would love a patch, as this is one of the last two issues before I release a beta.

DrMicky’s picture

I think this is the same problem I had which I solved using ... https://www.drupal.org/project/views_date_format_sql

EDIT ... I misunderstood this ... the issue I referred to is a problem with aggregation which happens before formatting and requires views_date_format_sql to fix. However as this fix means dates arrive already in the right format they don't need to be formatted in the view so it's possibly also a workaround for this issue also.

  • andileco committed 5657fb5 on 8.x-3.x
    Issue #2979006 by Søren Sjøstrøm, andileco, DrMicky: Date format not...
andileco’s picture

Status: Active » Fixed
andileco’s picture

Status: Fixed » Closed (fixed)