Skip to content
Snippets Groups Projects
Commit 6dd6acec authored by vlorentz's avatar vlorentz
Browse files

model: Raise error on naive datetimes.

We may unknowingly pass naive datetimes to the storage through them,
causing the underlying DB to assign them a timezone that might not match
the actual one.

It already happens in swh.model and swh.loader.package tests.
parent d1db7b99
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment