Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / system / migrations / d6_date_formats.yml
diff --git a/web/core/modules/system/migrations/d6_date_formats.yml b/web/core/modules/system/migrations/d6_date_formats.yml
new file mode 100644 (file)
index 0000000..6d4631a
--- /dev/null
@@ -0,0 +1,23 @@
+id: d6_date_formats
+label: Date format configuration
+migration_tags:
+  - Drupal 6
+  - Configuration
+source:
+  plugin: variable_multirow
+  variables:
+    - date_format_long
+    - date_format_medium
+    - date_format_short
+  source_module: system
+process:
+  id:
+    plugin: static_map
+    source: name
+    map:
+      date_format_long: long
+      date_format_short: short
+      date_format_medium: medium
+  pattern: value
+destination:
+  plugin: entity:date_format