diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-02-27 10:44:20 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-02-27 15:47:32 +0000 |
| commit | b34ef6ae01de77764a6770a0fef7aba7dc3f5623 (patch) | |
| tree | 6cfe16505ce1a880747cf2be4515d31cecde4133 /src/web/lib/_controller.php | |
| parent | fix copyright year (diff) | |
| download | xssbook2-b34ef6ae01de77764a6770a0fef7aba7dc3f5623.tar.gz xssbook2-b34ef6ae01de77764a6770a0fef7aba7dc3f5623.tar.bz2 xssbook2-b34ef6ae01de77764a6770a0fef7aba7dc3f5623.zip | |
Diffstat (limited to 'src/web/lib/_controller.php')
| -rw-r--r-- | src/web/lib/_controller.php | 9 |
1 files changed, 0 insertions, 9 deletions
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)); - } } |