From f8bef19a9327673ff69b94cce315e5027cb3e0ca Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 27 Mar 2025 02:18:42 +0500 Subject: feat: timezone support --- public/index.php | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'public') diff --git a/public/index.php b/public/index.php index e181b96..2d7b588 100644 --- a/public/index.php +++ b/public/index.php @@ -1,8 +1,17 @@ - <?php echo $holiday_count ?> holidays on <?php echo "$day.$month" ?> + <?php echo $holiday_count ?> holidays on <?php echo "$day.$month" ?> + <?php echo $utc != 0 ? ("(UTC" . ($utc >= 0 ? "+" : "") . "$utc)") : "" ?> + -

holidays on

+

holidays on + = 0 ? "+" : "") . "$utc)") : "" ?> +