Skip to content

Instantly share code, notes, and snippets.

@BanzaiMan
Last active March 5, 2017 22:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BanzaiMan/5129358 to your computer and use it in GitHub Desktop.
Save BanzaiMan/5129358 to your computer and use it in GitHub Desktop.
Updating system TZ dataUse at your own risk. If desired, back up /usr/share/zoneinfo.
rm -rf zoneinfo
mkdir zoneinfo
curl -s -L -o - http://www.iana.org/time-zones/repository/tzdata-latest.tar.gz | tar xzvf - -C zoneinfo
cd zoneinfo
sudo zic africa antarctica asia australasia backward etcetera europe factory northamerica pacificnew southamerica systemv
zdump -v Pacific/Apia # or any time zone that shows the latest tzdata update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment