Fix invalid mono log file name on Windows

This commit is contained in:
Ignacio Etcheverry 2019-04-24 18:52:03 +02:00
parent e1d16e722e
commit d93c354807
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ void GDMonoLog::initialize() {
OS::Time time_now = OS::get_singleton()->get_time(); OS::Time time_now = OS::get_singleton()->get_time();
int pid = OS::get_singleton()->get_process_id(); int pid = OS::get_singleton()->get_process_id();
String log_file_name = format("%d-%02d-%02d %02d:%02d:%02d (%d).txt", String log_file_name = format("%d_%02d_%02d %02d.%02d.%02d (%d).txt",
date_now.year, date_now.month, date_now.day, date_now.year, date_now.month, date_now.day,
time_now.hour, time_now.min, time_now.sec, pid); time_now.hour, time_now.min, time_now.sec, pid);