First fully working version of saving snips content with git control

This commit is contained in:
Tim
2023-04-04 23:23:53 +02:00
parent 1a7c9bb25a
commit 842c936d8c
12 changed files with 170 additions and 17 deletions

View File

@ -40,11 +40,6 @@ trait TrackedTrait
return $this;
}
public function getCode(): string
{
return date_format($this->createdAt, "ymd");
}
public function setCreatedAtTodayNoSeconds(): self
{
$this->setCreatedAt(DateTime::createFromFormat('Y-m-d H:i', date('Y-m-d H:i')));