On 2019-12-30, at 22:51:40, Gadi Ben-Avi wrote: > > I changed TZ to the value you suggested, and when I issue the time command I > get UTC. > "time"? Try "date" instead.
Troubleshooting: o Run the commands in the attached TAtry.txt file (This is not a shell script.) ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
TZ=IST-2IDT,M3.4.4/26,M10.5.0 script date export -p | grep TZ echo "$0 $SHELL" exit mv typescript TZlog.txt ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
o Reply here attaching the generated TZlog.txt o After review by enough critical eyes, go to SR. > -----Original Message----- >> > A better approach, extracting information from Linux, which does it right: > > 503 $ tail -1 /usr/share/zoneinfo/Asia/Tel_Aviv > IST-2IDT,M3.4.4/26,M10.5.0 > > So: > TZ=IST-2IDT,M3.4.4/26,M10.5.0 export TZ > > See: https://pubs.opengroup.org/onlinepubs/007908799/xbd/envvar.html -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN