Shoutbox

Birthdays screw up - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: Forum & Website (/forumdisplay.php?fid=13)
+----- Thread: Birthdays screw up (/showthread.php?tid=22888)

Birthdays screw up by Tochjo on 03-21-2004 at 09:35 AM

When you enter a birthday prior to 31st December 1969 in your user cp, the date 31st December 1969 will be displayed in the profile no matter if you were born somewhere in September 1950, July 1933 or February 1944; the date of birth will just show 31st December 1969 :P

Example:
When messing around with this bug, my profile showed
[Image: attachment.php?pid=216946]

while I had entered 4th August 1905 as my birthday.


RE: Birthdays screw up by fluffy_lobster on 03-21-2004 at 09:38 AM

That's a limitation of php, I believe, it revolves around the unix epoch, 01/01/1970 00:00:00

To fix this would be to rewrite the php date() function, which is not only fiddly but hard on the server


RE: Birthdays screw up by WDZ on 03-21-2004 at 11:17 PM

Yeah, what Lobster said. :p PHP limitation.

The important thing is that the age is correct... :p