TheOtherDavid / CoinCheck

A simple app that checks a crypto coin price and sends an SMS alert if there has been a big move recently.
1 stars 0 forks source link

Something is wrong with the AWS calculations #19

Closed TheOtherDavid closed 3 years ago

TheOtherDavid commented 3 years ago

The percentage numbers are lower than when I execute locally. This is the same DB, what else is different between the two?

image

image

TheOtherDavid commented 3 years ago

This is related to time zones! I don't explicitly reference the time zones in some places, or I use local timezones. that explains the difference between executing in FL and executing in Ohio on AWS. I forget exactly how to fix this though.

TheOtherDavid commented 3 years ago

I think I fixed this issue.