
Modificar el Huso Horario de nuestros servidores Debian en Venezuela el cual a pasado de -04:30 UTC a -04:00 UTC, dando cumplimiento al decreto presidencia Nro 2.301, publicado Gaceta Oficial Extraordinaria N° 6.224, de fecha 18/04/2016, donde se se modifica el Huso Horario en todo el territorio de la República, entrando en vigencia el 01 de mayo de 2016.
La variación de la Hora legal actual es de +30 minutos y debe entrar en vigencia el cambio 01/05/2016 a las 02:30 a.m.
Ya existe una actualización del paquete tzdata en debian con los cambios del nuevo huso horario para Venezuela, dicho paquete puede ser descargado de los siguiente enlace
Para el caso de debian podemos verificar Debian Changelog donde nos indica los últimos cambios correpondiente al paquete y hace referencia a la resolúcion del bug reportado 821147 Venezuela to change time zone on May 1
Verificamos la zona horaria instalada actualmente con el comando zdump, como podemos ver el último cambio es del 2007:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
zdump -v /etc/localtime /etc/localtime -9223372036854775808 = NULL /etc/localtime -9223372036854689408 = NULL /etc/localtime Wed Jan 1 04:27:43 1890 UT = Tue Dec 31 23:59:59 1889 LMT isdst=0 gmtoff=-16064 /etc/localtime Wed Jan 1 04:27:44 1890 UT = Wed Jan 1 00:00:04 1890 CMT isdst=0 gmtoff=-16060 /etc/localtime Mon Feb 12 04:27:39 1912 UT = Sun Feb 11 23:59:59 1912 CMT isdst=0 gmtoff=-16060 /etc/localtime Mon Feb 12 04:27:40 1912 UT = Sun Feb 11 23:57:40 1912 VET isdst=0 gmtoff=-16200 /etc/localtime Fri Jan 1 04:29:59 1965 UT = Thu Dec 31 23:59:59 1964 VET isdst=0 gmtoff=-16200 /etc/localtime Fri Jan 1 04:30:00 1965 UT = Fri Jan 1 00:30:00 1965 VET isdst=0 gmtoff=-14400 /etc/localtime Sun Dec 9 06:59:59 2007 UT = Sun Dec 9 02:59:59 2007 VET isdst=0 gmtoff=-14400 /etc/localtime Sun Dec 9 07:00:00 2007 UT = Sun Dec 9 02:30:00 2007 VET isdst=0 gmtoff=-16200 /etc/localtime 9223372036854689407 = NULL /etc/localtime 9223372036854775807 = NULL |
Descargamos la actualización:
1 |
wget -c http://ftp.us.debian.org/debian/pool/main/t/tzdata/tzdata_2016d-2_all.deb |
Instalamos el nuevo paquete
1 |
dpkg -i tzdata_2016d-2_all.deb |
Volvemos a comprobar con el comando zdump, y verificamos el cambio del 1 de mayo 2016
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
zdump -v /etc/localtime /etc/localtime -9223372036854775808 = NULL /etc/localtime -9223372036854689408 = NULL /etc/localtime Wed Jan 1 04:27:43 1890 UT = Tue Dec 31 23:59:59 1889 LMT isdst=0 gmtoff=-16064 /etc/localtime Wed Jan 1 04:27:44 1890 UT = Wed Jan 1 00:00:04 1890 CMT isdst=0 gmtoff=-16060 /etc/localtime Mon Feb 12 04:27:39 1912 UT = Sun Feb 11 23:59:59 1912 CMT isdst=0 gmtoff=-16060 /etc/localtime Mon Feb 12 04:27:40 1912 UT = Sun Feb 11 23:57:40 1912 VET isdst=0 gmtoff=-16200 /etc/localtime Fri Jan 1 04:29:59 1965 UT = Thu Dec 31 23:59:59 1964 VET isdst=0 gmtoff=-16200 /etc/localtime Fri Jan 1 04:30:00 1965 UT = Fri Jan 1 00:30:00 1965 VET isdst=0 gmtoff=-14400 /etc/localtime Sun Dec 9 06:59:59 2007 UT = Sun Dec 9 02:59:59 2007 VET isdst=0 gmtoff=-14400 /etc/localtime Sun Dec 9 07:00:00 2007 UT = Sun Dec 9 02:30:00 2007 VET isdst=0 gmtoff=-16200 /etc/localtime Sun May 1 06:59:59 2016 UT = Sun May 1 02:29:59 2016 VET isdst=0 gmtoff=-16200 /etc/localtime Sun May 1 07:00:00 2016 UT = Sun May 1 03:00:00 2016 VET isdst=0 gmtoff=-14400 /etc/localtime 9223372036854689407 = NULL /etc/localtime 9223372036854775807 = NULL |
Enhorabuena, ya hemos actualizado la hora de nuestro sistema operativo Debian.