From b34ef6ae01de77764a6770a0fef7aba7dc3f5623 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 27 Feb 2026 10:44:20 -0500 Subject: update deps --- src/web/lib/_base.php | 9 --------- src/web/lib/_controller.php | 9 --------- 2 files changed, 18 deletions(-) (limited to 'src/web/lib') 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 @@ -30,15 +30,6 @@ trait XSS_Base { 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)); - } - /** * Loads a STRING from $_GET, or returns $default on failure */ 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)); - } } -- cgit v1.2.3-freya