Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
timezone - Add AIX support using `chtz` #58838
Adding AIX support to module timezone.
This code does not support posix format, Olson/tz database only (similar to all other implementations). Tested on AIX 7.1 and 7.2, but should work on all AIX 6.1+ instances.
There's a small block of commented out code that checks to see if the supplied format is Olson/tzdatabase. This could be used for future additional Posix support, but I do not believe that it would ever be necessary. Just in case someone ever requests it.
Contrary to IBM's man page,
To avoid this we confirm that the supplied Olson/tz database
If the timezone file does exist, we update /etc/environment using
Examples / Testing
For the given example of
Running on a server with a new, valid, timezone
Running on a server with a the existing timezone
Running with an invalid timezone
Honestly I'm not sure, that was a leftover from a copy/paste from one of the existing classes. I've pushed two updates, one to make