From a2b17b26b1b5ab6827e345d4a7776428e73fa8d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 27 Sep 2023 15:23:42 +0200 Subject: [PATCH] Store the creationDate in LicenseData --- .../files/lib/system/package/license/LicenseData.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcfsetup/install/files/lib/system/package/license/LicenseData.class.php b/wcfsetup/install/files/lib/system/package/license/LicenseData.class.php index 827feb1b59..b5863e27fe 100644 --- a/wcfsetup/install/files/lib/system/package/license/LicenseData.class.php +++ b/wcfsetup/install/files/lib/system/package/license/LicenseData.class.php @@ -12,6 +12,8 @@ namespace wcf\system\package\license; */ final class LicenseData { + public readonly \DateTimeImmutable $creationDate; + /** * @param array{ * authCode?: string, @@ -29,6 +31,7 @@ final class LicenseData public readonly array $woltlab, ) { + $this->creationDate = new \DateTimeImmutable(); } public function getLicenseNumber(): ?string -- 2.20.1