setTimeZoneEV(){
# Desc: Set time zone environment variable TZ
# Usage: setTimeZoneEV arg1
- # Version 0.1.1
+ # Version 0.1.2
# Input: arg1: 'date'-compatible timezone string (ex: "America/New_York")
# TZDIR env var (optional; default: "/usr/share/zoneinfo")
# Output: exports TZ
# exit code 0 on success
# exit code 1 on incorrect number of arguments
# exit code 2 if unable to validate arg1
- # Depends: yell, printenv, bash 5
+ # Depends: yell(), printenv 8.30, bash 5.0.3
# Tested on: Debian 10
local tzDir returnState argTimeZone