Skip to content

Replace Moment.js with date-fns #3222

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 16 commits into from
Feb 1, 2021
Merged

Replace Moment.js with date-fns #3222

merged 16 commits into from
Feb 1, 2021

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Jan 31, 2021

see https://momentjs.com/docs/#/-project-status/

Before

  • cargo.js: 337.66 KB (46.46 KB gzipped)
  • vendor.js: 994.86 KB (267.9 KB gzipped)

After

  • cargo.js: 333.25 KB (46.21 KB gzipped)
  • vendor.js: 928.56 KB (251.39 KB gzipped)

r? @locks

@Turbo87
Copy link
Member Author

Turbo87 commented Jan 31, 2021

whoops... I forgot that Chart.js is using Moment.js by default 😅

@Turbo87 Turbo87 marked this pull request as ready for review January 31, 2021 19:05
@locks
Copy link
Contributor

locks commented Feb 1, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Feb 1, 2021

📌 Commit 4be3870 has been approved by locks

@bors
Copy link
Contributor

bors commented Feb 1, 2021

⌛ Testing commit 4be3870 with merge 86d3657...

@bors
Copy link
Contributor

bors commented Feb 1, 2021

☀️ Test successful - checks-actions
Approved by: locks
Pushing 86d3657 to master...

@bors bors merged commit 86d3657 into rust-lang:master Feb 1, 2021
@Turbo87 Turbo87 deleted the date-fns branch February 1, 2021 01:55
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.

4 participants