netcode

netcode/node-prettydate

format old JavaScript dates in a “pretty” way. ex : 2 hours ago , 3 minutes ago

JavaScript
14
7
MIT License

This project is a Node.js library that formats JavaScript dates into a "pretty" human-readable format, such as "2 hours ago" or "3 minutes ago." It's inspired by John Resig's Pretty Date plugin for jQuery and is useful for developers who want to display relative time in their applications.

Total donated
Undistributed
Share with your subscribers: