You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Though iana's db doesn't really say 'Daylight' for this time, this offset is generally considered DST. Others mark this as DST.
This excerpt from Wiki also calls it DST:
Since 2019, Morocco observes daylight saving time every month but Ramadan. During the holy month (the date of which is determined by the lunar calendar and thus moves annually with regard to the Gregorian calendar), the country's civil clocks observe Western European Time (UTC+00:00, which geographically overlaps most of the nation). At the close of that month, its clocks are turned forward to Western European Summer Time (UTC+01:00).[51][52][53]
On PHP
8.2.20
with timezonedbtimezonedb-2024.2
, the following code returns the correct time offsets, but in my view incorrect DST values.Though iana's db doesn't really say 'Daylight' for this time, this offset is generally considered DST. Others mark this as DST.
This excerpt from Wiki also calls it DST:
Some more sources:
https://www.moroccoworldnews.com/2019/06/275946/morocco-study-ditching-clock-gmt1-dst
https://www.moroccoworldnews.com/2021/11/345482/potential-removal-of-daylight-savings-time-in-morocco
Based on this, should the 'isdst' value be true for all months except the Ramadan month for Africa/Casablanca and Africa/El_Aaiun?
The text was updated successfully, but these errors were encountered: