how to set the locale of datetime.timeformat to English so it does not return time in the current device language like Arabic?
01:23.45 instead of ۰۰:۰۳.۱۳
This is what I'm going to do: Set locale in my app to US and then switch to Arabic only during text input then switch back to US right after, using this
B4X:
Dim jo As JavaObject
jo.InitializeStatic("java.util.Locale").RunMethod("setDefault", Array(jo.GetField("US")))