-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add TotalTimeLetter tag #34
base: main
Are you sure you want to change the base?
Conversation
The original tag uses the same function that the SDV uses to format the time on the top right of the screen. If your game is set to French, I believe it should already be formatted with an
|
That's the total save time spend, not currently time of the day (Also i don't think that's a french thing, just wanted that because just XX:XX looks weird because you don't know if it's HH:MM or MM:SS) |
Considering how much this function changes the formatting based on language, it would make more sense to just replace the original function with a XhXm format. |
I think we don't talk about the same thing, i'm talking about public static string getHoursMinutesStringFromMilliseconds(ulong milliseconds)
{
return milliseconds / 3600000 + ":" + ((milliseconds % 3600000 / 60000 < 10) ? "0" : "") + milliseconds % 3600000 / 60000;
} and isn't location based. i think you talk about |
Hi, i wanted a better format for the total time with the
h
forhour
replacing the:
, so could be nice.Feel free to change the name, naming is hard...
(Didn't tested because idk how to compile SDV mods but should works)