我正在处理一个PowerApp,日期格式设置几乎适用于我的所有字段,但其中有一个字段是Sharepoint中的计算字段。新电子邮件的计算日期是最后一封电子邮件的28天之后。我以前已经能够正常地格式化我的所有日期,但这一个不起作用。有人知道为什么吗?View Image
发布于 2020-12-10 23:56:04
这很有趣。看起来你在PowerApps中做的一切都是对的。可能是计算列的错误。
作为一种可能的解决方法,请尝试在Sharepoint列本身中设置日期的格式。
看起来toLocaleDateString()可以做到这一点:
toLocaleDateString(): returns a language sensitive representation of just the date portion of a date
- "txtContent":"=toLocaleDateString(@now)" results vary based on user's locale, but en-us looks like "2/5/2019"
https://stackoverflow.com/questions/65221495
复制相似问题