diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-12 22:55:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-12 22:55:25 +0200 |
commit | ac73059b56b35e20258774755f9742d032f51f52 (patch) | |
tree | 957b4562f711730561f67b204cffc3b0ae2b72b7 /modules/mono | |
parent | edee79862894538ba29f0d2d4e90bdc970ba9e1c (diff) | |
parent | f64fea1b23df163485720c03054b3a17ae0c673a (diff) |
Merge pull request #49123 from aaronfranke/it-is-time
Add a Time singleton
Diffstat (limited to 'modules/mono')
-rw-r--r-- | modules/mono/mono_gd/gd_mono_log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/mono_gd/gd_mono_log.cpp b/modules/mono/mono_gd/gd_mono_log.cpp index 0537dc2ca3..179bbfb40c 100644 --- a/modules/mono/mono_gd/gd_mono_log.cpp +++ b/modules/mono/mono_gd/gd_mono_log.cpp @@ -161,8 +161,8 @@ void GDMonoLog::initialize() { OS::Time time_now = OS::get_singleton()->get_time(); String log_file_name = str_format("%04d-%02d-%02d_%02d.%02d.%02d", - date_now.year, date_now.month, date_now.day, - time_now.hour, time_now.min, time_now.sec); + (int)date_now.year, (int)date_now.month, (int)date_now.day, + (int)time_now.hour, (int)time_now.minute, (int)time_now.second); log_file_name += str_format("_%d", OS::get_singleton()->get_process_id()); |