The problem is:

  if ($timestamp > mktime(0, 0, 0, 0 /* this is the month and is 1-12, not 0-11 */, 0, date('Y'))) {
    return format_date($timestamp, 'privatemsg_current_year');
  }

mktime: http://php.net/manual/de/function.mktime.php

Please review the (pretty trivial) patch.

CommentFileSizeAuthor
privatemsg-format-date-january.patch576 bytesNiklas Fiekas
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Berdir’s picture

Status: Needs review » Fixed

Thanks, commited and pushed to 7.x-1.x and 7.x-2.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.