Skip to content

Switch from moment.js to date-fns #1964

Open

Description

@juliusknorr

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

Originally posted by @stefan-niedermann in #1952 (comment)

Activity

  1. stefan-niedermann commented on Sep 16, 2020

    @stefan-niedermann
    Member

    moment.js development has been discontinued: https://momentjs.com/docs/#/-project-status/

  2. Aditi76117 commented on Oct 12, 2025

    @Aditi76117

    Hey 👋, I’ve worked on this issue and replaced Moment.js with date-fns throughout the Deck codebase.
    I’ve tested it locally and confirmed the date rendering works fine.
    I’m about to open a PR for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions