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 <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Voltrex <[email protected]>
  • Loading branch information
PiotrRybak authored and targos committed Nov 6, 2021
1 parent 47eddd7 commit 8fa1c61
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 8fa1c61

Please sign in to comment.