fixes to support composer / packagist

This commit is contained in:
Joey Kimsey
2024-08-08 01:18:58 -04:00
parent 8f2b00ae19
commit 2165609e48
7 changed files with 412 additions and 15 deletions

View File

@ -33,6 +33,7 @@ class Date {
$dt->setTimestamp( $time );
return $dt->format( $dateFormat );
}
public static function applyTimezoneToTimestamp( $timestamp ) {
$timestamp = intval( $timestamp );
$date = new DateTime();