Announcement

Collapse
No announcement yet.

Problems displaying Birthdays before 1970

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems displaying Birthdays before 1970

    Recently i just found out that member birthdays before 1970 were displaying as Dec 31, 1969.

    Any fix to this?

    Thanks.

  • #2
    Here's the post with the fix:

    http://www.vbulletin.com/forum/showt...737#post303737

    To fix this you need to find this line in member.php:

    $birthday = @date($calformat1,mktime(0,0,0,$bday[1],$bday[2],$bday[0]));

    And replace it with:

    $birthday = @date($calformat2,mktime(0,0,0,$bday[1],$bday[2],1993)) . ", $bday[0]";
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      Thanks

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X