aboutcode-org / aboutcode-org/scancode.io

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

Abierto
#1,335 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
215
Forks
203
Merge medio
4 d 8 h
PR fusionados (30 d)
6

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.