diff options
Diffstat (limited to 'src/web/lib')
| -rw-r--r-- | src/web/lib/_base.php | 9 | ||||
| -rw-r--r-- | src/web/lib/_controller.php | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/src/web/lib/_base.php b/src/web/lib/_base.php index 790bac9..d785e62 100644 --- a/src/web/lib/_base.php +++ b/src/web/lib/_base.php @@ -31,15 +31,6 @@ trait XSS_Base { } /** - * Formats a ISO date - * @param $iso_date the ISO date - */ - public function format_date(string $iso_date): string - { - return date("Y-m-d D H:i", strtotime($iso_date)); - } - - /** * Loads a STRING from $_GET, or returns $default on failure */ public function get_string(string $key, ?string $default = NULL): ?string { diff --git a/src/web/lib/_controller.php b/src/web/lib/_controller.php index 122a7a7..7941120 100644 --- a/src/web/lib/_controller.php +++ b/src/web/lib/_controller.php @@ -37,13 +37,4 @@ class XSS_Controller extends Controller { } return $name; } - - /** - * Formats a ISO date - * @param $iso_date the ISO date - */ - public function format_date(string $iso_date): string - { - return date("Y-m-d D H:i", strtotime($iso_date)); - } } |