diff options
Diffstat (limited to 'src/web/core/core.php')
-rw-r--r-- | src/web/core/core.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/web/core/core.php b/src/web/core/core.php index d71870e..d15436a 100644 --- a/src/web/core/core.php +++ b/src/web/core/core.php @@ -23,6 +23,8 @@ abstract class Core { */ public static function asset_stamp(string $path): int { + if (ENVIRONMENT == 'devlopment') + return time(); $path = PUBLIC_ROOT . '/' . $path; return @filemtime($path); } @@ -80,6 +82,6 @@ abstract class Core { */ public static function format_date(string $iso_date): string { - return date("Y-m-d D H:m", strtotime($iso_date)); + return date("Y-m-d D H:i", strtotime($iso_date)) . ' EST'; } } |