Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage/stg87 preview #25404

Merged
merged 1 commit into from
Mar 29, 2023
Merged

Storage/stg87 preview #25404

merged 1 commit into from
Mar 29, 2023

Conversation

EmmaZhu
Copy link
Member

@EmmaZhu EmmaZhu commented Mar 29, 2023

[Storage] upgrade version for STG87 preview features
Work around the issue caused by a bug in Date when initializing from a miliseconds number.

Work around the issue caused by a bug in Date when initializing from a miliseconds number.
@azure-sdk
Copy link
Collaborator

azure-sdk commented Mar 29, 2023

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-storage-blob
azure-storage-file-share
azure-storage-file-datalake

// For example, 13322188799999 is 2023-03-01T23:59:59.999Z, while 13322188800000 is 2023-03-01T00:00:00.000Z
// Here is to work around the bug.
if (timeNumerInMs >= BugTimeBeginningInMS) {
date.setUTCDate(date.getUTCDate() + 1);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please raise a bug (or check if any exist bug) to NodeJS team, and need remove/refine this code after this bug is fixed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already had a better fix for this calculation in main prior to this PR: #25072

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants