- Issue created by @claudiu.cristea
- Status changed to Needs review
6 months ago 8:13am 3 June 2024
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
Needs review
2.0
Code