Hi,
A feature I am using in Editor widget has a DateTime attribute
By default the Date/Time fields are in the format of: mm/dd/yyyy
Instead, I need it to be: dd/mm/yyyy
I do not know how to do this change.
But preferably, when the user clicks the date field a calendar should appear to select a day.
Any help would be greatly appreciated.
Thanks!
Solved! Go to Solution.
Hi, thanks for asking about this. Unfortunately, there is no direct and easy way to set this right now in the FeatureForm (and hence the Editor since this uses the FeatureForm widget). We are actively working on making this easier for all widgets that make use of dates and will hopefully have a better way to handle this in an upcoming release.
For now, formatting for dates in the FeatureForm is taken directly by the browser. If you're browser's locale was set to "en-GB", the format would flip to dd/mm/yyyy. I realize that this is not the answer you were looking to get. We do hope to make this easier in the near future.
Hi, thanks for asking about this. Unfortunately, there is no direct and easy way to set this right now in the FeatureForm (and hence the Editor since this uses the FeatureForm widget). We are actively working on making this easier for all widgets that make use of dates and will hopefully have a better way to handle this in an upcoming release.
For now, formatting for dates in the FeatureForm is taken directly by the browser. If you're browser's locale was set to "en-GB", the format would flip to dd/mm/yyyy. I realize that this is not the answer you were looking to get. We do hope to make this easier in the near future.
Thanks for the response @HeatherGonzago, appreciated.
Unfortunately, there is no direct and easy way to set this right now
As a non-direct way, perhaps:
Could I ask you if you can think of a better approach?