update_variables_to_config('system.date', array(
    'site_default_country' => 'country.default',
    'date_first_day' => 'first_day',
    'date_default_timezone' => 'timezone.default',
    'configurable_timezones' => 'timezone.user.configurable',
    'empty_timezone_message' => 'timezone.user.warn',
    'user_default_timezone' => 'timezone.user.default',
  ));

See parent issue #2181257: [meta] Variables to config migration [d7] for instructions.

Comments

jcost’s picture

Project: IMP » Drupal core
Version: » 8.0.x-dev
Component: Code » migration system
Status: Active » Needs work

Will need to be submitted again to Core since moving from sandbox.

phenaproxima’s picture

phenaproxima’s picture

Status: Needs work » Closed (won't fix)

Merged into the parent issue.