date-time-format-timezone
date-time-format-timezone copied to clipboard
Error when getting "long" name for timeZone Etc/UTC
new Intl.DateTimeFormat('en', { timeZone: 'Etc/UTC', timeZoneName:'long', year: 'numeric', month: 'numeric', day: 'numeric', hour: 'numeric', minute: 'numeric', }).format(new Date())
throws error "Error: unsupported value "long" for timeZone Etc/UTC. requires locale data for en-US" in IE 11