Attack
Forum Üyesi
- Katılım
- 4 Şub 2023
- Mesajlar
- 2,618
- Puanları
- 0
\XF\Entity\User::verifyTimezone uses the following logic in an attempt to filter out timezones that won't be accepted by DateTimeZone::__construct:
PHP:
$tzs = \DateTimeZone::listIdentifiers(\DateTimeZone::ALL_WITH_BC);if (!in_array($timezone, $tzs)){ $this->error(\XF:
hrase('please_select_valid_time_zone'), 'timezone'); return false;}
Unfortunately, \DateTimeZone::listIdentifiers can't be used to get a list of supported timezones. Without the...
PHP:
$tzs = \DateTimeZone::listIdentifiers(\DateTimeZone::ALL_WITH_BC);if (!in_array($timezone, $tzs)){ $this->error(\XF:
Unfortunately, \DateTimeZone::listIdentifiers can't be used to get a list of supported timezones. Without the...
Misafirler için gizlenen link, görmek için
Giriş yap veya üye ol.