The minute calculation is incorrect when subtracting a date in ArcGIS Survey123 Connect.
ArcGIS Survey123
漏洞 ID 编号
BUG-000139332
已提交
April 23, 2021
上次修改时间
August 9, 2024
适用范围
ArcGIS Survey123
找到的版本
3.12
操作系统
Windows OS
操作系统版本
10.0
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
The issue described occurs when the device timezone is between UTC-12:00 and UTC+00:00. The survey uses some functions to perform calculations, which sometimes leads to rounding issues that can cause incorrect results. To solve the problem described in this case, change the calculation formula
from:
"int((decimal-date-time(${enddatetimetoday}) - decimal-date-time(${startdatetimetoday})) * 24*60)"
to:
"number((decimal-date-time(${enddatetimetoday}) - decimal-date-time(${startdatetimetoday})) * 24*60)".