First fully working version of saving snips content with git control
This commit is contained in:
@ -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')));
|
||||
|
Reference in New Issue
Block a user