From 268dfc987664416db099761d51a5c007eb926904 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 28 May 2024 21:03:16 -0400 Subject: fix date --- src/web/_model/format.php | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/web/_model/format.php') diff --git a/src/web/_model/format.php b/src/web/_model/format.php index d2a3700..d2b7316 100644 --- a/src/web/_model/format.php +++ b/src/web/_model/format.php @@ -33,14 +33,4 @@ class Format_model extends Model { return $name; } - /** - * Formats a date - * @param string $date - the data in RFC3999 format - * @returns the formatted date - */ - public function date($date) { - $date=date_create($date); - return date_format($date, "Y-m-d H:i"); - } - } -- cgit v1.2.3-freya