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

Replace toGMTString with toUTCString #8414

Merged
merged 2 commits into from
Feb 8, 2017
Merged

Replace toGMTString with toUTCString #8414

merged 2 commits into from
Feb 8, 2017

Conversation

schmengler
Copy link
Contributor

@schmengler schmengler commented Feb 4, 2017

Mage.Cookies.set and other functions use Date.toGMTString() which is deprecated and while it's still widely supported, it will not work in future browser versions. Changing it to toUTCString makes the cookie functions future proof.

I also searched and replaced in the included legacy JS libraries.

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Feb 4, 2017

CLA assistant check
All committers have signed the CLA.

@PieterCappelle
Copy link
Contributor

+1

@okorshenko
Copy link
Contributor

@schmengler thank you for removing deprecated code from Magento! PR is merged

@okorshenko okorshenko added this to the February 2017 milestone Feb 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants