- Issue created by @Aporie
- 🇩🇪Germany Anybody Porta Westfalica
Maybe you want to run
/** * Update timestamp formatter settings for views. */ function views_post_update_timestamp_formatter(?array &$sandbox = NULL): void { /** @var \Drupal\views\ViewsConfigUpdater $view_config_updater */ $view_config_updater = \Drupal::classResolver(ViewsConfigUpdater::class); \Drupal::classResolver(ConfigEntityUpdater::class)->update($sandbox, 'view', function (ViewEntityInterface $view) use ($view_config_updater): bool { return $view_config_updater->needsTimestampFormatterTimeDiffUpdate($view); }); }
in dev
and re-export the views afterwards?
ddev drush ev 'require("core/modules/views/views.post_update.php"); $array=[]; views_post_update_timestamp_formatter($array);'
ddev drush cex --diff
- 🇭🇷Croatia Aporie
Hi Anybody,
Thanks for the contrib. I was actually working on a new release for CF.
I just re-saved the view and re-exported the config. Did the trick.
Closing this ticket.
Automatically closed - issue fixed for 2 weeks with no activity.