Alter Date Format in a Drupal 8 Migration
PerĀ https://www.drupal.org/node/2820490 you can now use theĀ format_date plugin to alter date formats like this:
1 2 3 4 5 6 7 8 9 10 11 |
process: field_plist_date: - # Prevent entire row from being ignored if value is empty plugin: skip_on_empty method: process source: date - plugin: format_date from_format: 'n/j/y' to_format: 'Y-m-d' |
I do always recommend using skip_on_empty before any other process plugins.