nextcloud / nextcloud/deck

Switch from moment.js to date-fns

Open
#1,964 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop dependencies: javascript technical debt
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

Just an idea, have you considered to use date-fns instead of momentjs for better treeshaking?

Originally posted by @stefan-niedermann in https://github.com/nextcloud/deck/pull/1952#issuecomment-633184342

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified. Start by locating the project’s momentjs usages and reviewing how date-fns would affect them, with treeshaking as the stated goal. Done would require an agreed migration scope and verification that the replacement works throughout the affected areas.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.