summaryrefslogtreecommitdiff
path: root/src/web/_model/format.php
diff options
context:
space:
mode:
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");
- }
-
}