Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by


Uploaded by


Virus scan

Safe to use

About this mod

This 24-hour clock mod patches the time-drawing routine directly, so it doesn't cause UI glitches.

Permissions and credits
100% of Donation Points (DP) for this mod goes to Doctors without Borders (Médecins sans Frontières)

There are several 24-hour clock mods available in Nexus.

Some don't work, the others work but causes UI glitches.

This one ... simply works.

It works NOT by drawing over the HUD elements (the cause behind the aforementioned UI glitches), but by directly patching the game code (using the Harmony framework) where time-formatting is performed.

(Surprise, surprise: The game actually _can_ emit 24-hour clock ... it's just that "en" localization is hardcoded to use the archaic "am/pm" notation. I took out the whole time-localization code, making the time to be emitted as 'unlocalized' 24-hour notation.)

Important Note: This mod changes mainly the clock on top right; it also patches Game1.getTimeOfDayString() function, but whether the time in texts changes or not totally depends on the text's template.

  • Install latest SMAPI
  • Download & extract this mod into the "Mods" directory
  • . . .
  • Profit!

Nothing. Nada. Zilch. Rien.

Turn it on and that's it. You cannot customize.

Very likely will not be compatible with mods patching the StardewValley.Menus.DayTimeMoneyBox.draw method.

Might not be compatible with mods patching the Game1.getTimeOfDayString() function.

If you find an incompatible mod, please tell me, so I can coordinate with the conflicting mod's maker for a solution.

Source Code
Available on SourceForge. It is released under the MPL-2.0 license.

Please do not ask me to move it to GitHub; that will never happen.