mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
api add page_title
This commit is contained in:
@@ -523,7 +523,7 @@ function last_query($all = false)
|
||||
return nexus_json_encode($query);
|
||||
}
|
||||
|
||||
function format_datetime($datetime, $format = 'Y-m-d H:i:s')
|
||||
function format_datetime($datetime, $format = 'Y-m-d H:i')
|
||||
{
|
||||
if ($datetime instanceof \Carbon\Carbon) {
|
||||
return $datetime->format($format);
|
||||
|
||||
Reference in New Issue
Block a user