Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?

1 year 52 weeks? o.O

Riax's picture
Riax (Homepage) - November 28, 2007 - 2:54pm

Just for the heck of it, I went and viewed John's forum profile and noticed something.

http://www.simplexitynetwork.com/~blandin/1y52w.png
(Opens in a new window/tab)

That looks like something that could be easily corrected. Something like...

while ($weeks >= 52) {
	$weeks -= 52;
	$years++;
}

( categories: )

Uh yeah!

Its a thing with Drupal, if you have been registered here for a year (2, 3 and so on), Drupal will still display it as 52 weeks for a bit. So it will correct its self.

I think it's a rounding

I think it's a rounding problem, i.e. it will round up to 52 weeks, but not to a year. Just an idea.

Vintage!

Hmmm

Puzzled If it's going to round the week count, it should round down to the nearest whole integer. If someone has actually been registered for X years, Y weeks, and Z days, it would be more accurate to say that the person has been registered for X years and Y weeks, rather than Y+1 weeks, even if the days value was 6.

Meh, sometimes I think I have OCD; if I see something that I don't think is right, I almost always try to correct it or, if I can't, suggest that it be corrected.

We live as we do to show the world what it could be.
What's it mean you you? Is this a vision you can see?
Heroes are those who don't just accept the way things are.
Now which one are you, the driver or the car?
Machinae Supremacy - Overworld