上云API1.8.0 时间不一致问题
已完成Task Plan Library中的Planned/Actual Time 两时间一致,Planned因为时区问题,代码中已经改为中国时区了,但是Actual Time时间是错误的时间。
创建航线计划时,传的参数如下:
1.{"name":"test0511-测试创建时间","file_id":"f012286e-58af-4cdc-a65c-93a91f148723","dock_sn":"*******","task_type":1,"select_execute_date":["2024-05-16T03:57:20.196Z","2024-05-15T03:57:20.196Z"],"select_time_number":1,"select_time":[["2024-05-13T03:57:55.000Z"]],"rth_altitude":20,"out_of_control_action":0,"min_battery_capacity":90,"task_days":[1715659040,1715745440],"task_periods":[[1715572675]],"wayline_type":1}
2.{"name":"test0513-测试创建时间","file_id":"f012286e-58af-4cdc-a65c-93a91f148723","dock_sn":"*******","task_type":1,"select_execute_date":["2024-05-17T04:02:34.374Z","2024-05-16T04:02:34.374Z"],"select_time_number":1,"select_time":[["2024-05-13T04:02:59.000Z"]],"rth_altitude":20,"out_of_control_action":0,"min_battery_capacity":90,"task_days":[1715745754,1715832154],"task_periods":[[1715572979]],"wayline_type":1}
看了JAVA接口中,时间是代码生成的,而select_execute_date是怎么来的?如果是前端代码创建的话,时间也不对,和正确的时间相差16个小时,这个时间是怎么来的? 请解答一下疑问,谢谢[磕头.JPG]。
请先登录再写评论。
评论
1 条评论