Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
romainmenke authored and JakeChampion committed Jun 10, 2021
1 parent f44fbe2 commit 170d416
Show file tree
Hide file tree
Showing 4 changed files with 8,271 additions and 8,271 deletions.
4 changes: 2 additions & 2 deletions polyfills/Intl/DateTimeFormat/~timeZone/all/detect.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
(function (global) {
if ('Intl' in global && 'DateTimeFormat' in global.Intl && 'format' in global.Intl.DateTimeFormat.prototype) {
try {
try {
return (new Intl.DateTimeFormat('en', {
timeZone: 'Africa/Dakar',
timeZoneName: 'short'
}).format(new Date(Date.UTC(2012, 11, 20, 3, 0, 0, 200))).slice(-3) === 'GMT');
})).resolvedOptions().timeZone === 'Africa/Dakar';
} catch(e) {
return false;
}
Expand Down

0 comments on commit 170d416

Please sign in to comment.