NOTE: Lua does not support the use of # to remove leading zeros.
Original tip made by Yggdrasil.
Last edited by smurfier on October 2nd, 2011, 8:01 pm, edited 1 time in total.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
I would suggest calling os.setlocale() in Initialize(). It's also good to remember that the locale is process wide (even the Time measure itself will return a localized string after changing the locale through Lua).
poiru wrote:I would suggest calling os.setlocale() in Initialize(). It's also good to remember that the locale is process wide (even the Time measure itself will return a localized string after changing the locale through Lua).
Changed my first post, thank you.
If using multiple measures, then it may be best to use just the initialize function with os.setlocale("","time").
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .