Project

General

Profile

Redmine relative time

Added by Anonymous almost 14 years ago

Is there an easy way to make redmine use absolute time instead of relative one in output? I am not familiar with ruby programming at all, and this template construct is not obvious to me.

What I would rather be thankful to accomplish, is switching from:

<a href="/projects/vtvtest01/activity?from=2010-06-18" title="2010-06-18 11:44">7 days</a> ago.

to:

<a href="/projects/vtvtest01/activity?from=2010-06-18" title="7 days ago">2010-06-18</a> 11:44.

Of course, date formatting should be locale-aware :)


Replies (1)

RE: Redmine relative time - Added by Felix Schäfer almost 14 years ago

Well, the on-hover "title" is enough for most people ;-)

This can only be done through a patch/plugin, I could tell you what to patch, but at your own risk and especially your work to make the patch work for upgrades.

(as a matter of fact, I think I have already provided a patch for something similar/this exactly on the forums, you should be able to find it if you look hard enough :-) )

    (1-1/1)