I have a list widget of comms records.
I populate each of the cards in the lists dynamically.
The date is set up in US format. How do I change it to MM/DD/YYYY. I'm pretty sure this can be done in arcade.
Experience Builder doesn't give you the same access to Arcade that you have in other apps. It will honor Arcade expressions in a Details widget, but not when piping attributes into a Text widget. Even looking at the config JSON of something like that, it's not clear how it's deciding the date format. Doesn't seem to be an exposed user setting, but it would be great if it were! You should suggest it as an idea.
Hi @ShengdiZhang , Just wanted to check in on this and see if this is being looked into in a future upgrade or if it has already, and I've missed it.
Hi, there are no plans for when this feature will be implemented. However, if you want to use a different date format, you can update the format in the Map Viewer, and the Experience Builder will inherit this format.
Does this work when you use map viewer classic?
I tried with our 10.8.1 portal and I am using EXB dev 1.9 and it didn't make a difference.
Hi, I tried changing the date format in Map viewer classic - configure popup - configure attributes, and the date format in the ExB map and text widgets change as well.
Are you using a table widget to display the data, it is a known bug that the table widget doesn't honor the date format configured in the map viewer.
Shengdi
Hi @ShengdiZhang ,
do you have any updates of when this bug will be addressed?
I'm currenlty using Dev Edition 1.9, and the bug is still present.
Thanks,
Marco
Hi @MarcoPoetsch - if you were talking about the table bug, it is under investigation by our colleague teams and will probably be fixed by them. I cannot get a clear milestone yet, but you can track a similar support issue if needed - BUG-000150108.
thanks Tonghui, I hope this will get fixed soon
FYI - In Map Viewer Classic, most of the date formats (long, short, etc.) will be honored, except for one - DD/MM/YYYY - it contradicts the locale practice if in the US. Either one of MM/DD/YYYY and DD/MM/YYYY will be available depending on the user locale.