marianogappa / crypto-predictions

State machine-based engine for tracking crypto-related predictions across social media posts.
https://marianogappa.github.io/software/2023/06/17/building-crypto-predictions/
2 stars 0 forks source link

eod, eond durations are incorrect due to ignoring author's timezone #15

Open marianogappa opened 2 years ago

marianogappa commented 2 years ago

Twitter does not make the author's timezone public. I'm not sure about Youtube, but it's probably the same. When a tweet says "by end of today", the author meant it in the context of the city they live in, but that's unknown unless explicitly added.

We need a solution to this. One way is to allow specifying a timestamp explicitly, but default to end of day on the latest reasonable timezone (potentially -8 in Seattle?).