Skip to content

Change Date.toGMTString to Date.toUTCString due to deprecation #224

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

Merged
merged 1 commit into from
Feb 16, 2021

Conversation

Hypfer
Copy link
Contributor

@Hypfer Hypfer commented Feb 15, 2021

See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toGMTString

Interestingly, .toGMTString is actually already .toUTCString in node v14
image

@nfriedly
Copy link
Member

Nice, thanks!

I'm only on my phone right now, so I'll merge it in now and publish it later. If you don't see it published within a couple of days please poke me to remind me.

@nfriedly nfriedly merged commit f033c71 into express-rate-limit:master Feb 16, 2021
@nfriedly
Copy link
Member

OK, this should be published in v5.2.6 by CI shortly.

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

Successfully merging this pull request may close these issues.

None yet

3 participants