I have an XML data source that provides all the information needed for my Vue app. Everything is working smoothly except for one specific value.
The issue lies in retrieving a date from an element, which is currently formatted as:
['2022-10-25']
However, I actually need it to be displayed as 25-10-2022.
Currently, I am using the following code snippet to retrieve the date:
item.datum.join().toString()
Is there a way to manipulate this date format? I have tried using MomentJS since it's already installed, but haven't been successful in making it work.