v8: add date/time change notification #38638
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an attempt at providing a workable solution for #4230 ....
V8 caches the timezone details. On windows, when
process.env.TZ
is changed, V8 is not picking up the changes. This PR introduces an API that can be used to tell V8 to clear it's cached timezone parameters.Whether this is going to work or not, I'm not yet sure as I'm having difficulty building on windows locally at the moment. We'll see what the CI has to sayFixes: #4230
Signed-off-by: James M Snell jasnell@gmail.com