Quark

Quark

143M Downloads

Suggestion: Ability to change the date format of the screenshot overlay

Regnander opened this issue ยท 2 comments

commented

While updating my translation of this mod, I realized that the date format used for the screenshot overlay is hard-coded:

overlayText = new SimpleDateFormat("MM/dd/yyyy").format(new Date(System.currentTimeMillis()));

Being able to modify this in the language file would be great given how the format varies by country โ€“ for reference, we use DD/MM/YYYY here in Sweden.

2023-07-08_17 31 26

commented

will be in next update. supports any format

commented

will be in next update. supports any format

@MehVahdJukaar Now I'm adding the final touches to my translation update. I saw your changes in 3b69f16, but couldn't figure out how to set my custom date. Is there a specific JSON key that should be added in the language file?