From bb2685e6fb24676dbe5529a31e7e36d1a04d2f40 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 15 Dec 2022 17:27:07 +0100 Subject: [PATCH] [MIRROR] Investigate logs contain dates [MDB IGNORE] (#18153) Investigate logs contain dates Co-authored-by: tattle <66640614+dragomagol@users.noreply.github.com> Co-authored-by: tastyfish --- code/__HELPERS/logging/research.dm | 2 +- code/modules/admin/admin_investigate.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/__HELPERS/logging/research.dm b/code/__HELPERS/logging/research.dm index 40fd2a9ec72..f352123f9a2 100644 --- a/code/__HELPERS/logging/research.dm +++ b/code/__HELPERS/logging/research.dm @@ -3,4 +3,4 @@ if(!text) return var/html_file = file("[GLOB.log_directory]/[INVESTIGATE_RESEARCH].html") - WRITE_FILE(html_file, "[time_stamp()] [text]
") + WRITE_FILE(html_file, "[time_stamp(format = "YYYY-MM-DD hh:mm:ss")] [text]
") diff --git a/code/modules/admin/admin_investigate.dm b/code/modules/admin/admin_investigate.dm index 5cab0d0301e..94ea182891f 100644 --- a/code/modules/admin/admin_investigate.dm +++ b/code/modules/admin/admin_investigate.dm @@ -8,7 +8,7 @@ var/mob/living/source_mob = src source += " ([source_mob.ckey ? source_mob.ckey : "*no key*"])" - WRITE_FILE(F, "[time_stamp()] [REF(src)] ([x],[y],[z]) || [source] [message]
") + WRITE_FILE(F, "[time_stamp(format = "YYYY-MM-DD hh:mm:ss")] [REF(src)] ([x],[y],[z]) || [source] [message]
") /client/proc/investigate_show() set name = "Investigate"