bellingcat / ShadowFinder

Find possible locations of shadows around the world

Home Page:https://colab.research.google.com/github/Bellingcat/ShadowFinder/blob/main/ShadowFinderColab.ipynb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UTC in figure title does not respect time_format

GalenReich opened this issue · comments

Instead it should either display UTC or Local based on the value of time_format.

Issue is here because self.date_time is in UTC, but it gets converted to local time if time_format = "local"

plt.title(
f"Possible Locations at {self.date_time.strftime('%Y-%m-%d %H:%M:%S %Z')}\n(object height: {self.object_height}, shadow length: {self.shadow_length})"
)