Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Campo "taken_at", de spot_daily_reports está salvando com base no Timezone #51

Open
AntonioNtV opened this issue Nov 22, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@AntonioNtV
Copy link
Collaborator

Descreva o bug

Atualmente, a geração de spot_daily_reports, tem um campo "taken_at" que é o campo referente a data a qual os dados são referentes. Essa data vem via job de requisição de coleta de spots. Vem no formato: yyy-MMM-dd 23:59:59.
O problema é que está sendo salvo, no postgres, com base no timezone da maquina. Ou seja, se máquina for no brasil, vai ser salvo como:
yyyy-MM-dd 20:59:59
O certo seria o campo ser da 23horas 59 segundos e 59 millisegundos.
yyy-MMM-dd 23:59:59

@AntonioNtV AntonioNtV added bug Something isn't working good first issue Good for newcomers labels Nov 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant