今天是亚洲/德黑兰的27 斋月 1438。但PHP Intl
说今天是28 斋月 1438。有谁知道问题是什么?
$DateTime = new DateTime();
$IntlDateFormatter = new IntlDateFormatter(
'en_US@calendar=islamic',
IntlDateFormatter::FULL,
IntlDateFormatter::FULL,
'Asia/Tehran',
IntlDateFormatter::TRADITIONAL);
echo $IntlDateFormatter->format($DateTime);