Remove PUBLICATION_DATE_DEFAULT constant

Created on 3 June 2024, 6 months ago

The PUBLICATION_DATE_DEFAULT constant has been deprecated in 1.x and scheduled to be removed in 2.x:

/**
 * Define the value stored in the database when a node is unpublished and no
 * publication date has been set. We use the largest number that the database
 * field can hold so unpublished nodes will appear newer than published nodes
 * when sorted by publication date.
 *
 * @note: This is going to trigger the Year 2038 problem.
 *
 * @deprecated will be removed before Publication Date 2.0.0.
 *   The behaviour of the module for unpublished entities has been changed in
 *   https://www.drupal.org/project/publication_date/issues/3066446
 */
const PUBLICATION_DATE_DEFAULT = 2147483647;

We're already in 2.0.0-beta. It's time to cleanup

📌 Task
Status

Needs review

Version

2.0

Component

Code

Created by

🇷🇴Romania claudiu.cristea Arad 🇷🇴

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024