1 dblog.install dblog_update_1001()

Set the format for dates in the database log.

File

core/modules/dblog/dblog.install, line 106
Install, update and uninstall functions for the dblog module.

Code

function dblog_update_1001() {
  $short = system_date_format_load('short');
  config_set('system.core', 'log_date_format', $short['pattern']);
}