taken from https://github.com/mprogano/hudson-timezone