Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
privatemsg-format-date-january.patch | 576 bytes | Niklas Fiekas | |
Comments
Comment #1
BerdirThanks, commited and pushed to 7.x-1.x and 7.x-2.x.