Skip to content

Commit

Permalink
test: fix test-datetime-change-notify after daylight change
Browse files Browse the repository at this point in the history
Add standard timezone name for Dublin without daylight saving

PR-URL: #40684
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
  • Loading branch information
PiotrRybak authored and targos committed Nov 4, 2021
1 parent de125a5 commit 50c6666
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-datetime-change-notify.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ const cases = [
},
{
timeZone: 'America/New_York',
expected: /Eastern (Standard|Daylight) Time/,
expected: /Eastern (?:Standard|Daylight) Time/,
},
{
timeZone: 'America/Los_Angeles',
expected: /Pacific (Standard|Daylight) Time/,
expected: /Pacific (?:Standard|Daylight) Time/,
},
{
timeZone: 'Europe/Dublin',
expected: /Irish/,
expected: /Irish Standard Time|Greenwich Mean Time/,
},
];

Expand Down

0 comments on commit 50c6666

Please sign in to comment.