XCOM 2
62 ratings
[WOTC] ISO-Style-Dates & 24h Clock
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
208.446 KB
26 Jun, 2023 @ 2:38pm
21 Dec, 2024 @ 1:28am
10 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] ISO-Style-Dates & 24h Clock

In 1 collection by BlackDog
BDs WOTC Standard Collection
351 items
Description
This lightweight mod alters the UI Panel of the Save / Load game interface and adjusts some in-game localisation so that short dates are outputted in the ISO8601 standard format of YYYY-MM-DD. Times can also be forced to 24h format both within the Save / Load game menus and on the geoscape via Mod Config Menu if desired.

With many thanks to Copyrite, this mod now includes all the functionality of his 24h Clock in Menu Mod.

My reason for writing this mod is that, Being from the UK, it always bothered me that the in-game "International" localisation predominantly used US conventions & moreover, casual dates (both the UK convention of DD/MM/YYYY and the US convention of MM/DD/YYYY) do not string-sort correctly, which means that mods which track and/or sort dates tend to display this data poorly (unless the mod author has spent a lot of time & effort coding in the functionality natively).

Aside from the save/load screen the most obvious places this mod will be seen is in the fallen soldiers list in the memorial / bar but any mods which use the "GetDateStrings" method of X2StrategyGameRuleSetDataStructures will have the strings changed over to YYYY/MM/DD (for example Beat's Mission History Logs - although note that due to the way this mod works, the updated dates will only apply for new missions, missions logged before installing this mod will not be altered.

Note that the mod contains a Mod-Class-OverRide for UISaveLoadGameListItem. I'm yet to come across other mods which specifically over-rides this but please let me know if you experience any difficulties. The AML conflct between this mod and "Remove Missing Mods" can be safely ignored.

One thing I should say - this mod does not interfere with the behaviour of the save/loading system in any way. It simply alters the logic the base game uses to display the save information to the user (i.e. it is just a UI mod).

Please avoid using this mod alongside any others that over-ride the same classes, and be careful using them with any that may interfere with the behaviour of the save/load screen (I doubt there will be very many but you never know).

If you come across any visual discrepancies and/or bugs please let me know and I'll do what I can to help. However, please do not report corrupted save files etc. to me as they will not be caused by this mod.

Finally, I use quite a lot of mission-names mods so if any of the preview images offend you then I do apologise!
34 Comments
BlackDog  [author] 21 Dec, 2024 @ 1:49am 
Update is now live :)
BlackDog  [author] 7 Dec, 2024 @ 10:59am 
Once the latest version of CHL is pushed to stable, I will update this mod with a couple of new features (MCM options to switch between the operation name and the mission site on the 3rd line of the save file, 24h geoscape clock and an update for the string displays in the bar/memorial).
BlackDog  [author] 7 Dec, 2024 @ 10:57am 
@Victor de Noir - I've implemented a fix for the 24h clock on the geoscape in my other UI mod for now: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3268722967

It has all of the same features as regards date/time management and includes additional features for campaign management (sorting of games by campaign etc.).
Victor de Noir 26 Oct, 2024 @ 8:48am 
@BlackDog that would be great! Its difficult for me to assess the passage of time with how AM / PM works. I am normally only using 24h format.
BlackDog  [author] 26 Oct, 2024 @ 6:24am 
Ah OK 24h clock on the Geoscape is probably pretty do-able - I'll look into it :)
BlackDog  [author] 15 Sep, 2024 @ 1:51am 
Well, the date on the geoscape takes the long form (e.g. "March 2, 2025 or whatever") which wasn't really the issue I was trying to solve. It is possible to change the geoscapre time string. I can force it to "2025-3-1" quite easily but I'm pretty sure I can't add any leading zeroes, like I'm doing with the save files, due to the way the text is localized, which looks a bit weird. Without MCOing X2StrategyRuleSetDataStructures I can't really change the code that assembles that date and it's a bit on the invasive side for what would be achieved by doing it.
Victor de Noir 14 Sep, 2024 @ 9:58pm 
@BlackDog sorry it seems I was unclear I am referring to the 24 hour time format, less the date format, which you seem to be referring to in your comment.
Victor de Noir 14 Sep, 2024 @ 12:21pm 
@BlackDog why was it not possible to implement this also for the geoscope. This is where I would need it most.
Dragon32 16 Jun, 2024 @ 3:36am 
Nice. Thanks again, BlackDog.
BlackDog  [author] 15 Jun, 2024 @ 8:09pm 
@Dragon32 - You'll be pleased to know I got permission from BG to release so the mod combining both functionalities is now here:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3268722967