Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
What PrettyDate Does
PrettyDate provides field_formatter(s) for Date types that make use of John Resig's PrettyDate javascript to display recent dates in the form of "just now..." "x seconds ago" "x hours ago" etc...
How To Use PrettyDate
Install and enable the module. Then select PrettyDate as the field formatter for any Date field types. The Javascript that makes the magic happen will get included on every page of the site.
Project information
- Module categories: Site Structure, Developer Tools
- Created by twohlix on , updated