Time offset format is inconsistent between plan JSON and Aerie UI

Đang mở
#87 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cli

Hướng nghiên cứu

Start at the aerie-cli plan download path and trace how start_offset is serialized, comparing it with the hh:mm:ss.sss format shown by the Aerie UI and GraphQL response. Done means offsets over 24 hours use total hours rather than a days prefix, with coverage confirming the JSON representation matches the UI format.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

breaking change enhancement

The Aerie UI (and GraphQL response) displays start offests as hh:mm:ss.sss. Aerie always shows number of hours, even if the offset is more than 24 hrs. However, when I download a plan using the aerie-cli the offset is represented as "D days, hh:mm:ss.sss". For example "start_offset": "2 days, 0:59:59.897000", where as in the Aerie GUI, it's 48:59:59.897.

This difference in format makes it difficult to match up times in the plan JSON file with activities in the Aeri/e UI. We should use the same offset format as in Aerie.

Ngôn ngữ chính
Python
Star
5
Fork
7
Merge trung bình
3 ngày 14 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NASA-AMMOS/plandev-cli

Tất cả issue của NASA-AMMOS/plandev-cli

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.