I'm currently developing a django backend. I use
auto_now_add=True in my model to populate a start point on
create(). I use
datetime.datetime.now() to add an endpoint on
update(). The entire code for that is
Here's an example for an instance that was created at
2023-01-21T19:26:04.561888Z and updated only seconds later.
As you can see, the endpoint populated on
update() is somehow before the startpoint, which is not intended behavior.
2023-01-21 20:40:57.840847+01:05. I have absolutely no idea why the timezone is set as +01:05