
Fix for Relative Dates? - Who Visited This Topic
Fix for Relative Dates?

- shadav
- Registered User
- Posts: 150
- Joined: Thu Dec 01, 2005 7:12 pm
- Location: Drowning In Corn Fields
- Contact:
Re: Fix for Relative Dates?
the faq on the Relative dates suggest this but I don't know where to set it at, what file
any ideas?EXTENSION AUTHORS: How to remove mouseover wrapper
Relative Dates extension replaces absolute dates with relative ones, making them very inaccurate. To restore user experience, the extension wraps all relative dates with a <span> tag having title attribute equal to old good absolute date. This is a very handy solution in most situations. Sometimes, however, a date output is not prepared for HTML (i.e. AJAX loaded JSON, encoded before rendered). In this case, just set fourth parameter of the $user->format_date() to false. Done.
- shadav
- Registered User
- Posts: 150
- Joined: Thu Dec 01, 2005 7:12 pm
- Location: Drowning In Corn Fields
- Contact: