MZ ocRam's Time System Plugin - how to customize clock intervals!

I hope this is the right place to post this kind of thing, but feel free to (kindly) tell me to move the thread elsewhere if not. I'm new to RPG maker and forums.

Using ocRam's Time System plugin, I wanted to customize the clock to count up in increments of 10 (à la stardew valley) because 1 game minute = 10 irl seconds constantly ticking up is a bit too overwhelming for me, lol. To achieve this (not sure if it breaks anything else, but at the moment it's fine) I my husband (lol) changed a line of code in the plugin.

Change line 1745 to:

return ($gameVariables.value(_hourVarId) % _hoursPerDay).padZero(2) + ":" + (Math.trunc($gameVariables.value(_minuteVarId) % _minutesPerHour/10)*10).padZero(2);

Steps:
- Open plugin folder (drag .js file into Notepad)
- Change line 1745 to the above code
- Save changes and playtest game!

I just made this change for the 24 hour clock.

Hopefully this will help someone else, especially if they're as computer illiterate as I am haha 🙂

Original thread: https://forums.rpgmakerweb.com/threads/ocrams-time-system-plugin-how-to-customize-clock-intervals.176196/