wiki:TracTimeDeltaUpdatorPlugin

Automatically updating for relative date/time displays on Trac

Description

The plugin avoids relative date/time displays, "42 seconds ago", even though the page was opened 42 years ago with automatically refresh.

Bugs/Feature Requests

Existing bugs and feature requests for TracTimeDeltaUpdatorPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TracTimeDeltaUpdatorPlugin from here using Subversion, or browse the source with Trac.

Example

  1. Modify SandBox page on your Trac
  2. Visit SandBox page and look at "Last modified: ..." in the page for the moment!

Install

  1. Install the plugin:
    easy_install http://trac-hacks.org/svn/tractimedeltaupdatorplugin/0.12
    
  2. Enable the plugin in trac.ini:
    [components]
    tractimedeltaupdator.* = enabled
    
  3. If your Trac is 1.0 or later, prepend TimeDeltaUpdatorModule to request_filters in [trac] section
    [trac]
    request_filters = TimeDeltaUpdatorModule
    

Tickets

No results

Recent Changes

[12076] by jun66j5 on 2012-09-30 15:47:07
tractimedeltaupdator: works without Babel
[12075] by jun66j5 on 2012-09-30 05:20:34
tractimedeltaupdator: initial check-ins
[12074] by jun66j5 on 2012-09-30 05:15:09
New hack TracTimeDeltaUpdatorPlugin, created by jun66j5

Author/Contributors

Author: jun66j5
Maintainer: jun66j5
Contributors:

Last modified 2 years ago Last modified on Sep 30, 2012 5:25:20 AM