Customizing SMF > Modifications and Packages

Relative Dates

(1/14) > >>

Link to Mod

Relative Dates

Original Author:live627
SMF Version: 2.0.X
Mod Version: 1.3

This mod, when enabled, converts the usual date displays for posts with a relative one, such as 2 minutes ago, 7 hours ago, etc.

It isn't on by default; setting is in AdminCP => Features and Options => Layout.

Version 1.3
! Taken over by Runic
! Updated for 2.0.x
- Removed support for 1.1

Version 1.2
! Should be 0 seconds ago, not in 0 seconds
* Commenazi
+ Silently disables itself in XML mode. To turn it back on in XML, read my post.
* Converting all line endings to LF

Version 1.1
+ Added 1.1.x support
! Fixed vanishing "ago"
! Fixed future "negative" date bug
+ Extends relativity into the future, i.e, tomorrow

 ! Minor change or bugfix
 * Feature edit
 & Known bug
 + Feature addition
 - Feature removal
Why Not Visit:

I don't think it works on my 2.0 RC2

It says: 1453 seconds ago , by Knat Simon

Hmm, thanks for pointing that out. I fixed the problem and reuploaded it

nice mod live, good work

That fixed it, but i still see something that i think is wrong.

1. Minutes ago is right, hours ago is right, but 1 hour ago is missing the "ago"

2. It should be bold like the today and yesterday is.

Could you fix these two things then i would love to use your mod.

Cheers, and thanks :)


[0] Message Index

[#] Next page

Go to full version