【发布时间】:2016-12-23 10:18:31
【问题描述】:
可以在 angular input[datetime-local] 组件中使用 24hrs 格式吗? (https://docs.angularjs.org/api/ng/input/input%5Bdatetime-local%5D)
我可以使用 ngMOdelOptions 将时区设置为 UTC,但时间一直显示 AM/PM
谢谢
【问题讨论】:
-
这可能与 AngularJS 无关;它使用浏览器的the input type="datetime-local" 实现,它不允许格式化。
-
是的,很遗憾没有,感谢您的回复
标签: angularjs datetimepicker datetime-format