GORM Playground Link

https://github.com/go-gorm/playground/pull/233

Description

The timestamps that a returns on an object that is written to the database is inconsistent. This includes all time fields including CreatedAt, UpdatedAt, DeletedAt.

It looks like the nanosecond precision is being truncated

Comment From: jinzhu

database's time precision is not perfection

Comment From: kevinkirkup

What! It should at least be consistent on multiple requests to the same database. Even your own tests are failing.

If this were a database issue, then any kind of report aggregation wouldn't work.