aboutcode-org / aboutcode-org/scancode.io
Migrate release_date to DateTimeField for consistency with PurlDB model and incoming data
未关闭
- 主要语言
- Python
- 星标
- 215
- 派生
- 203
- 平均合并
- 4 天 8 小时
- 30 天内合并 PR
- 6
描述
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.
贡献指南
评估
这个 Issue 还没有评估数据。