Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
local_timezone: gracefully handle retrieval errors on Darwin
In some sandbox environments, the program may not have permission to access /etc/localtime or it may not exist. Catch any exceptions accessing and parsing its value and return UTC by default to avoid crashing the program.
- Loading branch information