Q-Date can we use different masks for model and for rendered view?
-
I have the classic problem of having q-date model in mysql format (yyyy-mm-dd) but I have also the need that user see the date in the italian format (dd/mm/yyyy).
How?
-
Check this codepen out.
https://codepen.io/smolinari/pen/PowJKEy?editors=1010
Please notice the date format of the
date
data prop. That’s how you’ll need to reformat your MySQL dates for QDate to work correctly.Also please read here: https://quasar.dev/quasar-utils/date-utils
Scott