How do I set Date AND time picker in MDriven?

我怕爱的太早我们不能终老 提交于 2019-12-11 04:07:36

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/49342140/how-do-i-set-date-and-time-picker-in-mdriven

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!