Skip to content

fix: Not using strings for database UTCDateTime column#68

Open
mesemus wants to merge 1 commit intoinveniosoftware:masterfrom
oarepo:feat-utcdatetime-always-datetime
Open

fix: Not using strings for database UTCDateTime column#68
mesemus wants to merge 1 commit intoinveniosoftware:masterfrom
oarepo:feat-utcdatetime-always-datetime

Conversation

@mesemus
Copy link
Contributor

@mesemus mesemus commented Mar 10, 2026

Description

Caused by inveniosoftware/invenio-db#200 , though independent on it

The implementation of this module contains the correct schema and converts between string representation of the date on the REST level and the datetime representation on the model level correctly.

Only tests that directly create the db model had to be changed to consistently use datetimes.

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Frontend

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

* fixed tests that created directly db model to always use
  datetime instance
* implementation/api unchanged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant