date-time-format-timezone icon indicating copy to clipboard operation
date-time-format-timezone copied to clipboard

Error when getting "long" name for timeZone Etc/UTC

Open dcRUSTy opened this issue 4 years ago • 0 comments

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

dcRUSTy avatar May 04 '20 09:05 dcRUSTy