Current date is now shown in the stats tab. (#13413)

* Current date is now shown in the stats tab.

* capitalization

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2022-04-04 04:35:26 +02:00
committed by GitHub
parent 9fbe826994
commit 551737282e
2 changed files with 44 additions and 0 deletions

View File

@@ -818,6 +818,9 @@
stat("Game ID", game_id)
stat("Map", current_map.full_name)
stat("Current Space Sector", SSatlas.current_sector.name)
var/current_month = text2num(time2text(world.realtime, "MM"))
var/current_day = text2num(time2text(world.realtime, "DD"))
stat("Current Date", "[current_day]/[current_month]/[game_year]")
stat("Station Time", worldtime2text())
stat("Round Duration", get_round_duration_formatted())
stat("Last Transfer Vote", SSvote.last_transfer_vote ? time2text(SSvote.last_transfer_vote, "hh:mm") : "Never")