diff --git a/script.tjfields.php b/script.tjfields.php index eb3c613..26ef6d5 100755 --- a/script.tjfields.php +++ b/script.tjfields.php @@ -883,7 +883,7 @@ public function renameTable($table, $newTable) { $db = Factory::getDBO(); - $newTable = $newTable . '_' . date('d-m-Y_H:m:s'); + $newTable = $newTable . '_' . date('Y_m_d_H_i_s'); $query = "RENAME TABLE `" . $table . "` TO `" . $newTable . "`"; $db->setQuery($query);