Time Zone Africa/Casablanca staying in DST
Issue
tzdata
package does not account for DST changes for Morocco- The Moroccan government recently decided to keep DST year-round. As it stands,
tzdata
package versions up totzdata-2018f-2.el7.noarch.rpm
,tzdata-2018f-1.el6.noarch.rpm
, andtzdata-2017b-1.el5.x86_64.rpm
do not reflect this and will instruct the server to leave DST on October 28:
zdump -v /etc/localtime |grep 2018
/etc/localtime Sun Mar 25 01:59:59 2018 UTC = Sun Mar 25 01:59:59 2018 WET isdst=0 gmtoff=0
/etc/localtime Sun Mar 25 02:00:00 2018 UTC = Sun Mar 25 03:00:00 2018 WEST isdst=1 gmtoff=3600
/etc/localtime Sun May 13 01:59:59 2018 UTC = Sun May 13 02:59:59 2018 WEST isdst=1 gmtoff=3600
/etc/localtime Sun May 13 02:00:00 2018 UTC = Sun May 13 02:00:00 2018 WET isdst=0 gmtoff=0
/etc/localtime Sun Jun 17 01:59:59 2018 UTC = Sun Jun 17 01:59:59 2018 WET isdst=0 gmtoff=0
/etc/localtime Sun Jun 17 02:00:00 2018 UTC = Sun Jun 17 03:00:00 2018 WEST isdst=1 gmtoff=3600
/etc/localtime Sun Oct 28 01:59:59 2018 UTC = Sun Oct 28 02:59:59 2018 WEST isdst=1 gmtoff=3600
/etc/localtime Sun Oct 28 02:00:00 2018 UTC = Sun Oct 28 02:00:00 2018 WET isdst=0 gmtoff=0
zdump -v Africa/Casablanca | grep 2018
Africa/Casablanca Sun Mar 25 01:59:59 2018 UTC = Sun Mar 25 01:59:59 2018 WET isdst=0 gmtoff=0
Africa/Casablanca Sun Mar 25 02:00:00 2018 UTC = Sun Mar 25 03:00:00 2018 WEST isdst=1 gmtoff=3600
Africa/Casablanca Sun May 13 01:59:59 2018 UTC = Sun May 13 02:59:59 2018 WEST isdst=1 gmtoff=3600
Africa/Casablanca Sun May 13 02:00:00 2018 UTC = Sun May 13 02:00:00 2018 WET isdst=0 gmtoff=0
Africa/Casablanca Sun Jun 17 01:59:59 2018 UTC = Sun Jun 17 01:59:59 2018 WET isdst=0 gmtoff=0
Africa/Casablanca Sun Jun 17 02:00:00 2018 UTC = Sun Jun 17 03:00:00 2018 WEST isdst=1 gmtoff=3600
Africa/Casablanca Sun Oct 28 01:59:59 2018 UTC = Sun Oct 28 02:59:59 2018 WEST isdst=1 gmtoff=3600
Africa/Casablanca Sun Oct 28 02:00:00 2018 UTC = Sun Oct 28 02:00:00 2018 WET isdst=0 gmtoff=0
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5
tzdata-2018f-2.el7.noarch.rpm
tzdata-2018f-1.el6.noarch.rpm
tzdata-2017b-1.el5.x86_64.rpm
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.