diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-04-24 18:52:03 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-04-24 18:52:03 +0200 |
commit | d93c3548079e7f1653a03a1479dc75800ade24e7 (patch) | |
tree | d453c5630481ed9a44434747eadd5da1d28c3cf1 | |
parent | e1d16e722ec9742c3f92d20dc433d540339c36e6 (diff) |
Fix invalid mono log file name on Windows
-rw-r--r-- | modules/mono/mono_gd/gd_mono_log.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/mono_gd/gd_mono_log.cpp b/modules/mono/mono_gd/gd_mono_log.cpp index 3191cdbd53..087a7a2e5c 100644 --- a/modules/mono/mono_gd/gd_mono_log.cpp +++ b/modules/mono/mono_gd/gd_mono_log.cpp @@ -172,7 +172,7 @@ void GDMonoLog::initialize() { OS::Time time_now = OS::get_singleton()->get_time(); 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, time_now.hour, time_now.min, time_now.sec, pid); |