Skip to content

Commit

Permalink
Fix missing get date
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records committed Feb 24, 2024
1 parent 0a40b1e commit f96dc0d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions var/Widget/Base/Contents.php
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,30 @@ protected function ___url(): string
return $this->permalink;
}

/**
* @return string
*/
protected function ___year(): string
{
return $this->date->year;
}

/**
* @return string
*/
protected function ___month(): string
{
return $this->date->month;
}

/**
* @return string
*/
protected function ___day(): string
{
return $this->date->day;
}

/**
* @return string
*/
Expand Down

0 comments on commit f96dc0d

Please sign in to comment.