From 7e2553646c27cae8baaca1cc5c13d980661b5d90 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 2 Apr 2024 18:13:02 -0400 Subject: finish profile directory (mostly) --- src/web/_model/format.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/web/_model/format.php') diff --git a/src/web/_model/format.php b/src/web/_model/format.php index 52b51be..d2a3700 100644 --- a/src/web/_model/format.php +++ b/src/web/_model/format.php @@ -39,7 +39,8 @@ class Format_model extends Model { * @returns the formatted date */ public function date($date) { - return $date; + $date=date_create($date); + return date_format($date, "Y-m-d H:i"); } } -- cgit v1.2.3-freya