summaryrefslogtreecommitdiff
path: root/src/web/_model/format.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-05-28 21:03:16 -0400
committerFreya Murphy <freya@freyacat.org>2024-05-28 21:03:16 -0400
commit268dfc987664416db099761d51a5c007eb926904 (patch)
tree8272ea615092a412d9da567e70e9468027219c8c /src/web/_model/format.php
parente (diff)
downloadxssbook2-268dfc987664416db099761d51a5c007eb926904.tar.gz
xssbook2-268dfc987664416db099761d51a5c007eb926904.tar.bz2
xssbook2-268dfc987664416db099761d51a5c007eb926904.zip
fix date
Diffstat (limited to 'src/web/_model/format.php')
-rw-r--r--src/web/_model/format.php10
1 files changed, 0 insertions, 10 deletions
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");
- }
-
}