Any way to change the date format like this on Invision or PUNBB style forums?
Posted December 6th 2011, 4:00pm
In a nutshell I don't like the format in the recent topics or the forums themselves can someone post a Javascript code to change it like this?

Before- Today 4:20 pm
After- 38 Minutes ago

I want it to show in seconds upto 60 seconds ago, minutes upto 60 minutes ago, hours upto 48 hours ago, days upto 30 days ago months upto 12 months ago, and years after 1 year.

I don't know if it can be done or not, but if anyone can do it Dion can. ;)
φ
Posts:
Avatar
Guest
Any way to change the date format like this on Invision or PUNBB style forums?
Posted December 6th 2011, 6:28pm
You want the date format changed on posts that are less than an hour old...is that correct?

I've been wanting to do a javascript tutorial on manipulating the date() object. This sounds like a good real-world example. It's now #3 on my tutorial to-do list...
φ
Posts: 1599
Joined: March 12th 2009, 11:00pm
Location: Uncertain due to momentum
Likes Given: 26
Likes Received: 357
Any way to change the date format like this on Invision or PUNBB style forums?
Posted December 6th 2011, 6:32pm
Wow this would be great! It sounds much like Facebook and will give forums a more modern aura :D
φ
Posts: 122
Joined: July 23rd 2011, 11:00pm
Likes Received: 1
Any way to change the date format like this on Invision or PUNBB style forums?
Posted December 6th 2011, 6:44pm
@Dion I'm looking forward to your tutorial! ;)
Is it possible you might post the code if it turns out to be a short and simple code?
φ
Posts:
Avatar
Guest
Any way to change the date format like this on Invision or PUNBB style forums?
Posted January 23rd 2012, 6:23pm
Just wondering if there was any further updates on this?
φ
Posts:
Avatar
Guest
Any way to change the date format like this on Invision or PUNBB style forums?
Posted February 9th 2012, 2:58am
Has anyone figured out how to do this on Invision forums yet?
φ
Posts:
Avatar
Guest
Any way to change the date format like this on Invision or PUNBB style forums?
Posted February 9th 2012, 10:11pm
Would love if there was a tutorial on this! It would give forums a much cleaner look! :)

May I suggest the option to choose colors for the text? :D
φ
Posts: 122
Joined: July 23rd 2011, 11:00pm
Likes Received: 1

Who is online

Users browsing this forum: No registered users and 0 guests