You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When connection to the database, if you don't configure the timezone, all times within the database are set to display as UTC. This can cause confusing issues with the user entering seeded data at their time in their timezone and it being displayed differently. My time zone is "American/Chicago" -6 hours from GMT. I was running into issues with the 'List' query because it expects that the date of the timestamp be the current date but without the connection settings I kept getting the 'not enough data' error message because all the seeded data is shown as 6 hours from now (the next day). Really confusing, Hope it helps.
The text was updated successfully, but these errors were encountered:
testify-tutorial/main.go
Line 24 in 15bc873
When connection to the database, if you don't configure the timezone, all times within the database are set to display as UTC. This can cause confusing issues with the user entering seeded data at their time in their timezone and it being displayed differently. My time zone is "American/Chicago" -6 hours from GMT. I was running into issues with the 'List' query because it expects that the date of the timestamp be the current date but without the connection settings I kept getting the 'not enough data' error message because all the seeded data is shown as 6 hours from now (the next day). Really confusing, Hope it helps.
The text was updated successfully, but these errors were encountered: