Skip to content

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.


Migrated from D3793 (view on Phabricator)

Merge request reports