How To Get List of Valid Time Zone IDs
Thanks for this handy script, Shane.
I started a new topic to help others find it.
From: Shane Stanley <sstanley@...>
Date: Tuesday, December 5, 2017 at 12:32 AM
To: "ASUL (AppleScript)" <applescript-users@...>
Subject: Re: CalendarLib EC
"Japanese Standard Time" is not a valid time zone name in this context -- it really requires a zone ID. Try "Asia/Tokyo".
You can find out the valid entries like this:
use AppleScript version "2.4" -- Yosemite (10.10) or later
use framework "Foundation"
use scripting additions
current application's NSTimeZone's knownTimeZoneNames() as list