Parse OXR timestamps in UTC #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "utc-timestamps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I noticed that in my Australia/Melbourne (UTC +10/+11) timezone, a request for "2026-09-01"
was being cached as "2026-09-02_USD_rates.json" (1 day late). Subsequent requests would
re-request from the internet, rather than cache, or if the previous day had been cached,
used that.
In practise, this would never be an issue in America/New_York (UTC -5/-4), since the "1
second before midnight UTC" timestamp returned by OXR is always the same date.
The OXR timestamp is in UTC though, so I've updated
deserialize_timestampaccordingly.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.