MZ Is it possible to remove dot and point from OcRam's time system?

I know this is a little bit perfectionist but is it possible to remove the dot and the point for date and year time system?

i.e
2,024 without the point = 2024;
January 2. without dot ending = January 2 or January 02

I've tried all options for date format but it seems all of the options dont accomodate those specific dot and point removal.

1707275613229.png


1707275182395.png


1707275315882.png

1707275410748.png


As usual, thanks in advance!
72 hour bump with OcRam date system js (already sent email to them but still no response regarding this)
After looking into it, this is rather interesting.

Removing the dot is simple: modify getDayMonthLong (on line 1693) to remove the dots from strings, i.e. replace ". " with " ".

The comma, on the other hand, as far as I can tell, isn't meant to be there. The plugin does nothing to add it, and really nothing that would set the year to something that isn't a number. Even the example provided suggests this format should produce "13. January 2000".
I can see 3 possibilities here:
- You've manually set the year variable to "1,000" instead of "1000"
- You're using realtime options, which would grab this value from Date and which might be locale dependent (but I'm assuming you're not, unless you've made this screenshot 1024 years ago).
- You have something that adds commas when a number is converted to a string. I'm not sure how exactly would that happen, but just to make sure, what do you get after typing (1000).toString() into console?
Are you using the VisuStella Core Engine plugin? That adds formatting for putting commas in numbers.
After looking into it, this is rather interesting.

Removing the dot is simple: modify getDayMonthLong (on line 1693) to remove the dots from strings, i.e. replace ". " with " ".

The comma, on the other hand, as far as I can tell, isn't meant to be there. The plugin does nothing to add it, and really nothing that would set the year to something that isn't a number. Even the example provided suggests this format should produce "13. January 2000".
I can see 3 possibilities here:
- You've manually set the year variable to "1,000" instead of "1000"
- You're using realtime options, which would grab this value from Date and which might be locale dependent (but I'm assuming you're not, unless you've made this screenshot 1024 years ago).
- You have something that adds commas when a number is converted to a string. I'm not sure how exactly would that happen, but just to make sure, what do you get after typing (1000).toString() into console?
Hello, thank you for the help! I've tried what you suggested and it works except for the comma as @Trihan pointed out maybe it's because of VisuMZ Core Engine conflicts (?) for date format.

1707553881031.png


As for the year format, I don't know why but no I didn't comma manually and I didn't use realtime though and because you mentioned that I thought that'd be the case so I tried to make it realtime but it still had same result with comma.

1707554046651.png


Here is the result for console

1707554106162.png


Really appreciate the help, and at least I've solved half of the problem with your clear direction of code line and such. Thanks
Are you using the VisuStella Core Engine plugin? That adds formatting for putting commas in numbers.

So basically there is no way to make it works as I intended right because visumz core engine is obfuscated? Sad.. but thank you for the information.

Edit: sorry, I forgot I can't double reply.
So basically there is no way to make it works as I intended right because visumz core engine is obfuscated? Sad.. but thank you for the information.

Edit: sorry, I forgot I can't double reply.
There's a tag you can put in when displaying a number that stops the comma. It's listed in the core engine help.
There's a tag you can put in when displaying a number that stops the comma. It's listed in the core engine help.
Is this the one? I've tried to put {{}} and [] in year/1000 but somehow it'd make them as 0

1707555870737.png


even though it'd be risky for future development regarding text and dialogue but I just set these 2 to false and my case is solved.

1707556016596.png


1707556101935.png


Thank you Trihan and Mac! Have a wonderful weekend~
Yeah, if you don't actually need the digit grouping feature there's no harm in turning it off. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-remove-dot-and-point-from-ocrams-time-system.165527/