From 343b831ffc6911bc15136fab61fd24ee98ca5746 Mon Sep 17 00:00:00 2001 From: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com> Date: Wed, 29 Apr 2026 01:44:47 +0200 Subject: [PATCH] Spawn Blurb and Status Fixes (#22373) fixes an extra comma in the spawn date and time blurb and the month number in the status tab not being prefixed correctly. --- code/controllers/subsystems/job.dm | 2 +- code/controllers/subsystems/statpanel.dm | 4 +--- html/changelogs/SleepyGemmy-location_blurb.yml | 7 +++++++ 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 html/changelogs/SleepyGemmy-location_blurb.yml diff --git a/code/controllers/subsystems/job.dm b/code/controllers/subsystems/job.dm index 944d34a65b1..1f6eaa2ffb3 100644 --- a/code/controllers/subsystems/job.dm +++ b/code/controllers/subsystems/job.dm @@ -860,7 +860,7 @@ SUBSYSTEM_DEF(jobs) set waitfor = 0 var/style = "font-family: 'Fixedsys'; -dm-text-outline: 1 black; font-size: 11px;" - var/text = "[worlddate2text()], [worldtime2text()]\n[station_name()], [SSatlas.current_sector.name]" + var/text = "[worlddate2text()] [worldtime2text()]\n[station_name()], [SSatlas.current_sector.name]" text = uppertext(text) var/obj/effect/overlay/T = new() diff --git a/code/controllers/subsystems/statpanel.dm b/code/controllers/subsystems/statpanel.dm index 595a0f32ce3..465c6fad443 100644 --- a/code/controllers/subsystems/statpanel.dm +++ b/code/controllers/subsystems/statpanel.dm @@ -22,8 +22,6 @@ SUBSYSTEM_DEF(statpanels) /datum/controller/subsystem/statpanels/fire(resumed = FALSE) if (!resumed) num_fires++ - var/current_month = text2num(time2text(world.realtime, "MM")) - var/current_day = text2num(time2text(world.realtime, "DD")) var/eta_status = "No ETA" if(GLOB.evacuation_controller) eta_status = GLOB.evacuation_controller.get_status_panel_eta() @@ -31,7 +29,7 @@ SUBSYSTEM_DEF(statpanels) "Map: [SSatlas.current_map.name]", "Round ID: [GLOB.round_id ? GLOB.round_id : "NULL"]", "Server Time: [time2text(world.timeofday, "YYYY-MM-DD hh:mm:ss")]", - "Current Date: [GLOB.game_year]-[current_month]-[current_day]", + "Current Date: [worlddate2text()]", "Round Time: [get_round_duration_formatted()]", "Ship Time: [worldtime2text()]", "Current Space Sector: [SSatlas.current_sector.name]", diff --git a/html/changelogs/SleepyGemmy-location_blurb.yml b/html/changelogs/SleepyGemmy-location_blurb.yml new file mode 100644 index 00000000000..ac36401c64e --- /dev/null +++ b/html/changelogs/SleepyGemmy-location_blurb.yml @@ -0,0 +1,7 @@ +author: SleepyGemmy + +delete-after: True + +changes: + - bugfix: "Fixed an extra comma in the spawn date and time screen message." + - bugfix: "Fixed the month number not being prefixed correctly in the status tab."