【发布时间】:2015-12-25 04:11:45
【问题描述】:
我在下面设置了 XAML 代码。
<Label Text="{Binding Date}"></Label>
<Label Text="{Binding Time}'}"></Label>
我想要 2014 年 9 月 12 日下午 2:30 这样的结果。
【问题讨论】:
-
看起来你好像已经忘记添加你的 xaml 代码了!
-
下面的答案可能更接近您正在寻找的答案,但您应该注意 Xamarin Forms 在绑定日期格式方面存在错误。 forums.xamarin.com/discussion/comment/290295/#Comment_290295
-
@MelbourneDeveloper 我看到了您的帖子,问题已移至 GitHub。非常感谢您的贡献。不幸的是,截至今天,仍然没有解决。我将在此处留下一个指向 GitHub-Issue 的链接,以便人们了解最新信息。 github.com/xamarin/Xamarin.Forms/issues/2049
标签: datetime xamarin xamarin.forms