Reputation: 230
I am trying to capture both date and time in MDriven, but the default for data type DateTime only shows a picker (in Web) for the date, but a time is stored in the persistency layer. How do I also capture the time?
Upvotes: 2
Views: 132
Reputation: 2435
I found this in the wiki.mdriven.net
Date-formatting You set date and time format in the Style attribute enclosed in { }.
For example, for dates and time, {short} will show date and time in compact format. The default date format is {shortDate}. Please refer to the Angular guide for formatting dates https://docs.angularjs.org/api/ng/filter/date
The date and time format are automatically localized depending on the browser.
Upvotes: 2