The ArcGIS Survey123 web app does not calculate the decimal time when the decimal-date-time function is used with a time question.
上次发布: May 23, 2022ArcGIS Survey123
漏洞 ID 编号
BUG-000139246
已提交
April 21, 2021
上次修改时间
June 5, 2024
适用范围
ArcGIS Survey123
找到的版本
3.12
操作系统
Windows OS
操作系统版本
10.0
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
This is expected behavior. This ArcGIS Survey123 documentation (https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm) defines the decimal-date-time function and the decimal-time function as follows:
• decimal-date-time(question, expression, or string): Converts a date object into a decimal date-time number.
• decimal-time(question, expression, or string): Converts a time object into a number representing a fractional day in the device's time zone.
Therefore, the decimal-date-time function should not be used with a Time question. Similarly, the decimal-date function cannot be used with a Date question. See the example below:
"decimal-date-time(${starttime})" should be changed to "decimal-time(${starttime})"