Add start and default dates for times in MDRequirementsSet

This commit is contained in:
Joshua Ramon Enslin 2024-04-17 11:30:54 +02:00
parent 8d126d112d
commit 3717bc9da2
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -24,7 +24,10 @@ final class MDRequirementsSet {
const MIN_OBJECT_IMAGE_HEIGHT = 540;
const TIME_EARLIEST_YEAR = -6000000000;
const TIME_EARLIEST_DATE = '0001-01-01';
const TIME_LATEST_YEAR = 2099;
const TIME_LATEST_DATE = '9999-12-31';
const TIME_DEFAULT_DATE = '0001-01-01'; // Date to ignore in indexing
const MIMETYPES_USER_PROFILE_IMG = ['image/jpeg', 'image/jpg'];