1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Fixed some documentation.

This commit is contained in:
Jon Ziebell 2023-08-25 08:01:13 -04:00
parent 8d513331dc
commit ef9b172ae6

View File

@ -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 $utc_datetime Local datetime string.
* @param string $local_time_zone The local time zone to convert from. * @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') { function get_local_datetime($utc_datetime, $local_time_zone, $format = 'Y-m-d H:i:s') {
$local_time_zone = new DateTimeZone($local_time_zone); $local_time_zone = new DateTimeZone($local_time_zone);