You are reading a single comment by @Velocio and its replies. Click here to read the full conversation.
  • Actually, I wrote that code.

    But it's such a small small thing:

    	// toggle <time> html -> title -> html
    	$('body').on('click', 'time', function() {
    		$('time').each(function(ii) {
    			var t = $(this);
    			title = t.attr('title');
    			html  = t.html();
    			t.html(title).attr('title',html);
    		});
    	});
    

    The title attribute and the HTML element value are just swapped in place.

    The idea came from craigslist: http://london.craigslist.co.uk/atq/4675273641.html

    Click on times to swap them back and forth.

    Most people want "x minutes/hours/days ago".

    But to handle disputes, and to provide clarity, accuracy is also needed. So I had to find a way to do better than the old vBulletin thing where it was impossible to see the accurate time.

    Modal click works for me.

About

Avatar for Velocio @Velocio started