I use the tPreferencesDialog for a few preferences
One is a date
My app is used all round the world so I need it to conform with regional settings.
Locally, I'm dd/MM/yyyy but the preference dialog seems to default to MM/dd/yyyy
I'm loading the dialog from a json
How do I regionalise the date?
Thanks
One is a date
My app is used all round the world so I need it to conform with regional settings.
Locally, I'm dd/MM/yyyy but the preference dialog seems to default to MM/dd/yyyy
I'm loading the dialog from a json
Example:
Sub Class_Globals
Public prefdialog As PreferencesDialog
...
Private Sub B4XPage_Created (Root1 As B4XView)
prefdialog.Initialize(Root, "Settings", 300dip, 300dip)
prefdialog.LoadFromJson(File.ReadString(File.DirAssets, "settings.json"))
How do I regionalise the date?
Thanks