From ef9b172ae60c1d8aed49498bb1434808581c2fba Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Fri, 25 Aug 2023 08:01:13 -0400 Subject: [PATCH] Fixed some documentation. --- api/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/index.php b/api/index.php index c063c0b..de90d8e 100644 --- a/api/index.php +++ b/api/index.php @@ -111,12 +111,12 @@ function get_utc_datetime($local_datetime, $local_time_zone, $format = 'Y-m-d H: } /** - * Convert a UTC datetime string to a UTC datetime string. + * Convert a UTC datetime string to a local datetime string. * * @param string $utc_datetime Local datetime string. * @param string $local_time_zone The local time zone to convert from. * - * @return string The UTC datetime string. + * @return string The local datetime string. */ function get_local_datetime($utc_datetime, $local_time_zone, $format = 'Y-m-d H:i:s') { $local_time_zone = new DateTimeZone($local_time_zone);