FFixer

By Vaughan Chandler Last update Mar 9, 2011 — Installed 14,795,426 times.

show exact date of post

in
Subscribe to show exact date of post 28 posts, 7 voices



thezachperson31 Scriptwright
FirefoxWindows

Instead of the "42 minutes ago" times displayed by default that is useless in many situations, it would be useful if the script could replace it with its title text, which contains the actual date. So if the displayed date already is like "Yesterday at 6:30 PM" then just replace the text, but if it has a relative time then only prepend the actual time, i.e. "Thurs 08 Oct 2009 12:34:56 -7". It would be even more useful if the script could recognize and reprocess the date into your time zone and format, so it could be displayed as, for example, "10/9/09 3:34:56 p.m." instead.

 
Vaughan Chan... Script's Author
FirefoxX11

I'll see if I can implement this. I'm not sure if it will be possible to always show the exact time though cause, if I remember correctly, Facebook sometimes says things like "about an hour ago".

 
Burgers nChips Scriptwright
FirefoxWindows

I really hate "About an hour ago", especially since it seems to mean "Between 1 and 2 hours ago". I would really like this feature!

 
Alan Poulton User
FirefoxWindows

When I hover over the "42 minutes ago" or "about an hour ago" I get a tooltip popup with the exact time and date. I guess this is a facebook thing already?

 
Vaughan Chan... Script's Author
FirefoxX11

Good looking out Alan. That makes this really easy to implement, especially since the tooltip is always in English, regardless of the language you're using Facebook in. Next version for sure.

 
Dink Scriptwright
FirefoxWindows

Will there be any way to account for time zone difference instead of seeing it displayed like "Sun, 18 Oct 2009 17:30:45 -0700"??

I would want it to display my local time instead of the example above, which is the way the facebook pop-up displays.

 
Vaughan Chan... Script's Author
FirefoxX11

My plan is to show it always in local time. For today's events it would show just the time, for yesterday's it would show "Yesterday at" plus the time, and everything else would show the full date and time. This feature would be disabled by default.

Plans can always change but, as of now, thats the plan.

 
Dink Scriptwright
FirefoxWindows

Sounds good...
Looking forward to the next release!

 
thezachperson31 Scriptwright
FirefoxWindows

Sorry if I was a little vague when I said "title text"; I meant what Alan said, that it appears when you hover over the text. :) Noticed the "feature" some time back, and I figured that this script would be the best way to put it to good use.

 
thezachperson31 Scriptwright
FirefoxWindows

Oops, it double posted.

 
Vaughan Chan... Script's Author
FirefoxX11

Oops, sorry, I just didn't read your first message properly :)

 
DoSMaN User
FirefoxWindows

If it is possible i want the full time/date to be in 24hrs timing not 12hrs or give the option for users to make it as they wish.

 
Dink Scriptwright
FirefoxWindows

12 hr timing is my choice with am or pm at the end.

 
Vaughan Chan... Script's Author
FirefoxX11

I've already finished this feature. It is always in your own timezone, and it is 24-hour format by default, but there is an option to make it 12-hour. You can choose whether to keep Facebook's "x minutes ago" and it should work everywhere that Facebook provides a message in that format, not just in the feed (some posts on walls etc).

I'll have the beta up in a couple hours.

 
Dink Scriptwright
FirefoxWindows

Can you post a link here for the beta when you get it posted please?

 
Vaughan Chan... Script's Author
FirefoxX11

The beta version (well technically I've labeled it as an alpha version) is up: http://www.code-poet.net/userscripts/beta.html

 
Dink Scriptwright
FirefoxWindows

Like it!!
Working good for me!
Thanks Vaughan!!!

 
Dink Scriptwright
FirefoxWindows

I just noticed that the post I just made on Facebook is an hour off...
Of course this weekend was when the clocks was spposed to be set an hour back, Before our last president decided to mess with daylight savings time. And the post read minus one hour. The time on 2 of my pc's changed sunday morning as well, when they should not have...

 
Vaughan Chan... Script's Author
FirefoxX11

The script uses the timezone settings on your computer, so if your computer's settings aren't right the script will show the wrong time. You should able to fix this by turning DST on/off manually, or installing the updated timezone data for your OS.

 
Dink Scriptwright
FirefoxWindows

my timezone is correct but I'm still an hour off...
I live in Missouri, Which is -06:00 Central.. U.S. & Canada....
But I set my timezone to -05:00 Eastern and now it displays the correct time on the posts....

 
Vaughan Chan... Script's Author
FirefoxX11

Correct me if I'm wrong, but isn't Central time using daylight savings time now, which would make it -5:00?

 
Dink Scriptwright
FirefoxWindows

maybe... I'm not quite sure....

 
thezachperson31 Scriptwright
FirefoxWindows

Nice implementation! One feature request, though; could you change it to also show the seconds, as well as add the space before a.m./p.m.? (according to Wikipedia, it should have dots) I've modified the script (line 1649) to add this, but other users may want this as well.

Date.prototype.getFormattedTime = function(use24Hours) { return (use24Hours ? $0(this.getHours()) : (this.getHours()%12==0 ? '12' : this.getHours()%12)) + ':' + $0(this.getMinutes()) + ':' + $0(this.getSeconds()) + (use24Hours ? '' : (this.getHours()>11 ? ' p.m.' : ' a.m.')); }

 
thezachperson31 Scriptwright
FirefoxWindows

(okay, why does my computer keep double-posting?)

Nice implementation! One feature request, though; could you change it to also show the seconds, as well as add the space before a.m./p.m.? (according to Wikipedia, it should have dots) I've modified the script (line 1649) to add this, but other users may want this as well.

Date.prototype.getFormattedTime = function(use24Hours) { return (use24Hours ? $0(this.getHours()) : (this.getHours()%12==0 ? '12' : this.getHours()%12)) + ':' + $0(this.getMinutes()) + ':' + $0(this.getSeconds()) + (use24Hours ? '' : (this.getHours()>11 ? ' p.m.' : ' a.m.')); }

 
Vaughan Chan... Script's Author
FirefoxX11

Thanks for the ideas, I'll add both of these (seconds will be optional).

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel