|Version 2 (modified by jun66j5, 2 years ago) (diff)|
Automatically updating for relative date/time displays on Trac
The plugin avoids relative date/time displays, "42 seconds ago", even though the page was opened 42 years ago with automatically refresh.
If you have any issues, create a new ticket.
Download the zipped source from here.
- Modify SandBox page on your Trac
- Visit SandBox page and look at "Last modified: ..." in the page for the moment!
- Install the plugin:
- Enable the plugin in trac.ini:
[components] tractimedeltaupdator.* = enabled
- If your Trac is 1.0 or later, prepend TimeDeltaUpdatorModule to request_filters in [trac] section
[trac] request_filters = TimeDeltaUpdatorModule