Date is not showing in Format String Widget correctly

0
I am using format string to show the date.    In the data source tab I have choose date attribute through a association. When I am choosing date attribute directly it is working properly. Attaching screenshot of what the date is showing like: 
asked
2 answers
1

Are you using the Format String widget (https://marketplace.mendix.com/link/component/264)? This is deprecated, you can use the normal Text widget for this. Here you can choose how to format you date:

 

Hope this helps!

answered
0

In the Datasource > Behavior tab there is a Date Pattern field. What did you add in that?

 

You have to put a valid dojo/date/locale patterns.

 

You can find the valid formats here: https://dojotoolkit.org/reference-guide/1.9/dojo/date/locale/format.html 

answered