Closed AstroCB closed 4 years ago
Thank you for sharing. Please implement this as a new field rather than losing the existing field. Maybe the new field can be time_local.
Done!
Yup, that looks great, thank you!
Released version 3.2.0.
I'm not sure how our version gets bumped in Homebrew. Somebody else did this last time, possibly automatically, and I don't see documentation of how that works.
Also filed a PR #32 to link to the instructions I used for filing this (it was automated with their script).
Awesome, thank you, merged
Since an inferred timezone is returned as part of the placemark data, it can be used to localize the timestamp string given in the JSON blob, as well as the string data (if
requiresPlaceMarkLookup
is toggled on as the result of one of the other format specifiers).This PR just alters the
time
field (in both the JSON output and the formatted string output) to use the user's inferred timezone if available – it outputs in exactly the same format as the default, but will use the correct timezone instead of UTC. If this isn't available, it falls back to UTC (the existing behavior).