Skip to content

Conversation

Aditi76117
Copy link

Summary

This PR replaces all usages of Moment.js with date-fns across the Deck frontend codebase.
The change aims to modernize date handling, reduce bundle size, and align with Nextcloud’s current JavaScript practices.

All affected files using moment imports were updated to equivalent date-fns functions, and basic tests confirm correct rendering of due dates and relative timestamps in the UI.

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Verified basic UI functionality for date rendering (due dates, relative dates)
  • Documentation update not required

@Aditi76117 Aditi76117 force-pushed the replace-moment-with-datefns branch from 9c170bd to 21a4fe5 Compare October 13, 2025 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch from moment.js to date-fns

1 participant