We've received a report in https://github.com/webcompat/web-bugs/issues/114746 where store detail pages are broken on homedepot.com To reproduce, visit https://www.homedepot.com/l/Hampton/VA/Hampton/23666/4612 in Nightly 110.0a1 (2022-12-15) and observe the page. The site is using the hour:min:sec part from the result of : ```js const e = (new Date).toLocaleString('en-US', { timeZone: 'America/Anchorage' }); ``` and tries to extract only hour from the string with the following regex: `match(/(\d+):(\d+):(\d+) (\w)/);` and expecting a match, but since bug1792775 this expression returns `null`. I've attached a test case. Mozregression: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=7a1faa41f831ac8c3e5e751bde276a6a1d3eff39&tochange=b12f89a6bbffe2c243b664c4a4f60cd8a7b1c65c
Bug 1806042 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
We've received a report in https://github.com/webcompat/web-bugs/issues/114746 where store detail pages are broken on homedepot.com. To reproduce, visit https://www.homedepot.com/l/Hampton/VA/Hampton/23666/4612 in Nightly 110.0a1 (2022-12-15) and observe the page. The site is using the hour:min:sec part from the result of : ```js const e = (new Date).toLocaleString('en-US', { timeZone: 'America/Anchorage' }); ``` and tries to extract only hour from this string with the following regex: `match(/(\d+):(\d+):(\d+) (\w)/);` and expecting a match, but since bug1792775 this expression returns `null`. I've attached a test case. Mozregression: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=7a1faa41f831ac8c3e5e751bde276a6a1d3eff39&tochange=b12f89a6bbffe2c243b664c4a4f60cd8a7b1c65c