aboutcode-org / aboutcode-org/scancode.io

Migrate release_date to DateTimeField for consistency with PurlDB model and incoming data

Đang mở
#1,335 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
215
Fork
203
Merge trung bình
4 ngày 8 giờ
Pull request đã merge (30 ngày)
6

Mô tả

In ScanCode.io and DejaCode the `Package.release_date`fields are defined as `DateField`.
This is not the case for PurlDB, where it is defined as a `DateTimeField`.

The data returned by the PurlDB API under the `"release_date": "2017-11-01T00:00:00Z"` format cannot be set on the ScanCode.io model as-is, it needs to be converted, and it's a source of issues.

We should migrate to a `DateTimeField` for model consistency across the apps.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.