4

I often see fuzzy and relative times given for things around the site like "edited 1 hour ago".

This isn't a problem when you first load the screen but after a while, unless you refresh, those relative times don't [always*] update. And what if I saved the page locally or printed it? Those relative times lose all meaning. In those cases it would be better if the full date-time was displayed.

Is there any way to disable relative times on the entire site?

*From Oli: I've both seen some times update and some not update. I've no idea what the actual functionality does or where it does it. I might even be hallucinating.

migrated from askubuntu.com Dec 19 '13 at 21:39

This question came from our site for Ubuntu users and developers.

  • 1
    @user227096 Why not ask for a userscript over on stackapps? – RobotHumans Dec 19 '13 at 22:21
  • 5
    If you leave the pointer over the time for 1-2 seconds it will appear the exact time. – Braiam Dec 19 '13 at 22:23
  • It would seem that the answer is:<br/><br/>NO – user227096 Dec 20 '13 at 5:57
  • 1
    The answer is you're asking the wrong question. The absolute time in Zulu time is readily available in the span element of class="relativetime" as the title element. It would be simple to implement if someone were to ask nicely and in the right place. – RobotHumans Dec 20 '13 at 6:08
  • 2
    I created a user script to replace them stackapps.com/questions/4450/… – Dan Dec 20 '13 at 17:14
  • @Dan - awesomesauce. Now to tweak it to not require a hover and the OP's Christmas wish is fulfilled... – RobotHumans Dec 20 '13 at 23:06
  • 1
    @hbdgaf just replace .on by .each, but I prefer the hover myself to keep both types of dates always available – Dan Dec 20 '13 at 23:10
1

I have created a user-script and added a post for it on stackapps Replace all relative times with local times

For info on how to install user-scripts in different browsers, check the info of the script tag in stackapps .

The script will replace the relative dates with your local date after hovering over a date. I made it like that, because sometimes the relative date is more useful. Specially when it's x minutes ago or x hours ago.


If you know what you are doing already and don't need any of the above info:

To view the source of the script: https://gist.github.com/dannyhajj/8057530

To install the script click here.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .