feat(timezone): implement Tehran timezone handling across the application

This commit is contained in:
hamed
2026-07-16 00:25:21 +03:30
parent 8cd1253b81
commit 2f060bd5be
10 changed files with 90 additions and 17 deletions
+9
View File
@@ -0,0 +1,9 @@
<?php
/**
* تایم‌زون سراسری اپلیکیشن = ایران (Asia/Tehran). اجباری و مستقل از php.ini سرور.
* از طریق composer autoload.files روی همهٔ entrypointها (HTTP، console، worker،
* تست) پیش از بوتِ Kernel اجرا می‌شود تا تمام توابع تاریخ/ساعت (strtotime، date،
* DateTime، محاسبهٔ نوبت‌دهی سرویسی) با ساعت رسمی ایران کار کنند.
*/
date_default_timezone_set('Asia/Tehran');