Add resource type

This commit is contained in:
2024-12-22 01:16:15 +00:00
parent 5271f5263f
commit 1118fdfb45
3 changed files with 12 additions and 2 deletions

View File

@ -104,9 +104,8 @@ class CommunityResource
private array $type = [];
public function __construct(
private DateTime $today
private DateTime $today = new DateTime('now', new DateTimeZone('America/New_York'))
) {
$this->today = new DateTime('now', new DateTimeZone('America/New_York'));
}
public function getId(): ?Uuid