diff --git a/commands/core/archive.drush.inc b/commands/core/archive.drush.inc index 9b84571..82aee16 100644 --- a/commands/core/archive.drush.inc +++ b/commands/core/archive.drush.inc @@ -108,7 +108,7 @@ function drush_archive_dump($sites_subdirs = '@self') { $prefix = count($sites) > 1 ? 'multiple_sites' : str_replace('/', '-', $first['databases']['default']['default']['database']); } } - $date = gmdate('Ymd_his'); + $date = gmdate('Ymd_His'); $temp_dest_name = "$prefix.$date.tar"; $final_destination = drush_get_option('destination'); diff --git a/commands/sql/sql.drush.inc b/commands/sql/sql.drush.inc index 9727ba4..47ee3b0 100644 --- a/commands/sql/sql.drush.inc +++ b/commands/sql/sql.drush.inc @@ -404,7 +404,7 @@ function drush_sql_build_dump_command($table_selection, $db_spec = NULL, $file = } $file = $backup_dir . '/@DATABASE_@DATE.sql'; } - $file = str_replace(array('@DATABASE', '@DATE'), array($database, gmdate('Ymd_his')), $file); + $file = str_replace(array('@DATABASE', '@DATE'), array($database, gmdate('Ymd_His')), $file); } switch (_drush_sql_get_scheme($db_spec)) {