RimWorld

RimWorld

35 ratings
Better Time Format (Continued)
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
808.734 KB
3 Dec, 2024 @ 11:49am
23 Aug @ 7:10am
6 Change Notes ( view )

Subscribe to download
Better Time Format (Continued)

In 1 collection by Mlie
Mlie's resurrected mods
963 items
Description

Update of Netrves mod https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2072773208

- Now uses the 12-hour clock setting from the game-preferences instead of a separate mod-option



[discord.gg]
[github.com]


Notice
Due to focus on other project and my lack of interest in RimWorld for now, I'm not maintaining my mods for the time being. They are all open source, so feel free to fork them!

Better Time Format
Turn that boring 18h to whatever you like! Safe to add and remove to savegames!

Have you ever wanted to see what in-game time your colony is at, but were bothered by that "18h" display?

Well then I have the mod for you! Better Time Format changes the display of the clock to render in a more satisfying way, like "18:05" or "12am" or "8 o'clock" or...whatever! See the minutes and even seconds zoom past when you accelerate your game!

YOU HAVE THE CONTROL! You can set up the time display however you like, using simple placeholders you can type in your own preferred time format, ie. "HH:MM" becomes "07:15"! Read the mod settings for more information!

Note regarding no time: Just reopen the mod settings menu once, the last update changed where a few internal variables are stored and those need to be updated once.

Supported Versions and Requirements
This mod is made for RimWorld 1.2 and up, and requires Harmony 2.x

Parsing and Performance
The parsing is somewhat simple, on purpose. I traded accuracy for performance, while something like a regular expression would be more accurate, it isn't something you want to use for a game. So please excuse if you sometimes get weird displays with certain inputs. It should work fine for 99% of the cases.

This mod modifies an UI drawing method and on top of that also pulls some strings to get the user format going. I have taken the best precautions I could take to make sure everything runs as optimal as I can see.

The performance at worst is on par with the original function, and sometimes even better, but spikes happen every now and then. Unless something seriously broke, this mod should not be able to pose any problem.

Special Thanks
Thanks to all the helpful people over at the RimWorld Discord who have helped me a lot.


  • See if the the error persists if you just have this mod and its requirements active.
  • If not, try adding your other mods until it happens again.
  • Always post your log using the Log Uploader
  • For best support, please use the Discord-channel for error-reporting.
  • Do not report errors by making a discussion-thread, I get no notification of that.
  • If you have the solution for a problem, please post it to the GitHub repository.
  • Use RimSort[github.com] to sort your mods

| tags: clock, format
18 Comments
Reel 23 Aug @ 7:27am 
Thanks for the quick fix boss!
Reel 23 Aug @ 1:00am 
There's a gamebreaking interaction with this mod that causes your UI to disappear when you do the following steps:

1. Create a caravan
2. Abandon your only faction settlement
3. Click on anything on the worldmap

I have a log with the errors associated. Noticed that it lists the vanilla time format, and not the one present in this mod. Very high chance they're related.

https://gist.github.com/HugsLibRecordKeeper/5dfc2c46c60d22f4acb6cce0aa56ac96
CurtimusPrime92 24 Jul @ 2:23am 
i sent a PR to fix midnight in 12 hour mode showing up as 0:XX AM or 00:XX AM
Auld 16 Jul @ 12:23pm 
Yee haw 🤠
Mlie  [author] 11 Jul @ 9:17pm 
@Goobert Fartington Updating all my mods, see Discord for progress
Goobert Fartington 11 Jul @ 6:28pm 
Any plans to update for 1.6, or does the mod already work on 1.6?
gold_talisman 5 Mar @ 3:45pm 
Thanks for this Mlie ♥
CurtimusPrime92 30 Dec, 2024 @ 2:55pm 
neat thanks for all your work that you do for the RW community. and thanks for the quick fixes i posted on here only expecting you to fix it eventually if you ever get around to it and you're like "hold my [preferred beverage of choice]... and fixed"
Mlie  [author] 30 Dec, 2024 @ 2:49pm 
@CurtimusPrime92 Should work better now, seems the original calculation switched at 60% of 24 hours; at 14,4 for some reason. Never used the format myself but hopefully its correct now.
CurtimusPrime92 30 Dec, 2024 @ 2:16pm 
it seems usually around noon and midnight it sometimes gets stuck at 24 hour mode and and doesnt seem to catch that it should be in 12 hr mode sometimes till around 2:45pm or 2:45am