MyBB Community Forums

Full Version: 1.6 Return date small bug.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay, this is a tiny bug, but might as well be fixed.

On the return date, if you put it to anything to return on the 11th of any date, this happens:

[Image: KQw2]

What a few of you probably missed is the fact is says 11st not 11th

Again, as I said tiny bug, this is only seen if they have different date formats, as the others don't show the st, nd, rd and th.
Well spotted. O.o
If a number modulus 100 falls between 10 and 19 (inclusive), the ordinal marker is th; otherwise you can use number modulus 10 to determine the marker.