Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82387

Widget: Make use of the date format of the project

$
0
0

I've created a small widget which allows users to quickly input dates. E.g. a user enters "0512" (ddmm) and on change the widget will convert it to the fifth of December and will display the date as "05/12/2017" in the text box. 

The project I'm working on uses the Dutch language as default, so the default date format used by the default datepicker etc is dd-mm-yyyy . So I want to show the date as 05-12-2017 ("-" instead of "/" ).

I can easily hardcode the "-" as seperator in  the widget but I would like to somehow retrieve the default format in the widget so I can use it to get the format from it.

Is it possible to pass this information to the widget?


Viewing all articles
Browse latest Browse all 82387

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>