Commit
feat: Add date-fns library for date formatting enhancements
Commit details
Commit notes
This commit introduces the date-fns library to the project, adding it as a dependency in package.json. The library is utilized in the library component to improve date formatting logic, replacing the previous manual calculations with more robust functions for determining if a date is today or yesterday, and providing a more user-friendly display of time differences.
- Files changed
- 3
- Lines added
- +26
- Lines removed
- −9