Posted on 2010-01-27 08:00:00
Tags: zoneinfo, FreeBSD, Mexico, DST
The Mexican government has re-arranged the DST schedule of the northern part of their country to follow the DST schedule of the United States:
Mexico's Congress passed a law in December 2009, bringing the DST schedule observed by northern Mexico's border cities to be in line with the United States' DST schedule. The proposed daylight saving arrangement will affect the following areas:
Tijuana, Mexicali, Ciudad Juarez, Ojinaga, Ciudad Acuna, Piedras Negras, Anahuac, Nuevo Laredo, Reynosa, Matamoros.
The new DST schedule will see these areas move the clocks forward from 2am (02:00) to 3am (03:00) local time on the second Sunday of March, and then back from 2am (02:00) to 1am (01:00) local time on the first Sunday of November. [...]
These changes are available now in FreeBSD 8-STABLE, 7-STABLE, 6-STABLE and HEAD (and the upcoming 7.3 release). For people not following the stable track, please use the port misc/zoneinfo to update.
Posted on 2009-11-10 21:00:00
Tags: zoneinfo, Australia, DST
System administrators in Australia have had this issue for ages: While the Australia/Sydney timezone is known as EST:
The EST timezone is laying somewhere else:[~] edwin@k7>TZ=Australia/Sydney date Tue Nov 10 21:29:22 EST 2009
16 hours difference, that is the US East Coast. Thus, you can't use the timezone EST to specify Australian specific times and expect the rest of the world to get in sync with you. Even worse, there is software out there which is still broken on it.[~] edwin@k7>TZ=EST date Tue Nov 10 05:29:44 EST 2009
The issue has been brought up multiple times with the maintainers of the timezone data, but they only collect what is defined, they don't want to make the definitions themselves.
But there is hope! According to The Australian Government website, there are three timezones in Australia:
So real soon, hopefully, the timezone data maintainers will incorperate the changes and our systems will not be confused anymore when we configure our timezones as Australia/Sydney, then we will get AEST and nobody will be confused with us anymore!
Posted on 2009-10-22 09:00:00
Tags: FreeBSD, zoneinfo
In the last couple of days I have scratched a couple of the itches I had with regarding to the timezone database on the FreeBSD Operating System, all related to the (in)ability to update /etc/localtime automatically or quickly:
This feature is currently only available in FreeBSD -CURRENT, after the release of 8.0 I will merge it back into FreeBSD 8.0 and 7.0.
The port misc/zoneinfo and the installation script of src/share/zoneinfo do support these new features.
Posted on 2008-10-14 16:00:00, modified on 2008-10-14 21:30:00
Tags: FreeBSD, zoneinfo
Still in time for the release of 7.1: src/share/zoneinfo is updated! Syria is still in summertime until 1 November 2008. For people in Argentinia, it is still unclear if you guys will have DST at the 19th of October, so if you have some form of information please tell me about it, with your sources. At this moment it is still assumed that you will have DST.
MFCs towards RELENG_7 and RELENG_6 have been requested, but not yet granted, but of course also available in the ports collection as misc/zoneinfo.
Update on 2008-10-14: MFCd into RELENG_7, RELENG_6 and 6.4.
Posted on 2008-10-07 12:00:00, modified on 2008-10-14 21:25:00
Tags: FreeBSD, zoneinfo
Just in time for the release of 7.1: src/share/zoneinfo is updated! Changes are only for Brazil, which had clashes with the DST change during the Carnaval weekend.
Of course also available in the ports collection as misc/zoneinfo for people who don't track RELENG_6 or RELENG_7.
Update on 2008-10-14: MFCd into RELENG_6 and 6.4.
Posted on 2008-09-16 21:00:00
Tags: FreeBSD, zoneinfo
Just in time for the release of 7.1 and 6.4: src/share/zoneinfo is updated! Changes are for the countries of Mauritius, Morocco, Pakistan, Palestine, Argentina and Brazil.
Of course also available in the ports collection as misc/zoneinfo.
Posted on 2008-03-27 09:00:09, modified on 2008-03-27 09:00:00
Tags: zoneinfo, DST, Computers
This year the Daylight Saving Times rules for Australia change: We have two weeks less of wintertime. And the DST change times have been synchronized over all the states. Only problem, how do you make sure your computers know about it?
First you have to find three times which are relevant: before the change, during the changed time, after the change. Since the DST change times have changed from the last weekend in March to the first weekend in April, the times chosen are the wednesdays around the changes: 26 March, 2 April and 9 April.
On FreeBSD:
And on Linux:$ date -r `expr 1206529200` Wed Mar 26 22:00:00 EST 2008 $ date -r `expr 1206529200 + 86400 \* 7` Wed Apr 2 21:00:00 EST 2008 $ date -r `expr 1206529200 + 86400 \* 14` Wed Apr 9 21:00:00 EST 2008
The second wednesday should have been 22:00 with the new and improved DST rules.$ perl -e 'use POSIX;print "Date = ", POSIX::ctime(1206529200 + 86400 * 0);' Date = Wed Mar 26 22:00:00 2008 $ perl -e 'use POSIX;print "Date = ", POSIX::ctime(1206529200 + 86400 * 7);' Date = Wed Apr 2 21:00:00 2008 $ perl -e 'use POSIX;print "Date = ", POSIX::ctime(1206529200 + 86400 * 14);' Date = Wed Apr 9 21:00:00 2008
On FreeBSD it is pretty accurate in the CVS repository for HEAD, RELENG_7, RELENG_6 and RELENG_5. If you don't use the RELENG_x versions you can install the port misc/zoneinfo. After that you need to run tzsetup(1). If you have updated your system with freebsd-update(1) you still need to run tzsetup(1)! If you are running jails, they need to be updated too!
for i in /usr/jails/*; do if [ -f $i/etc/localtime ]; then echo $i cp /etc/localtime $i/etc/localtime fi done
If you run Linux, use your package management system: yum install tzdata or apt-get install time.
Or you can do it manually: (The X in 2008X should be resplaced by the value available from elsie.nci.nih.gov)
$ wget ftp://elsie.nci.nih.gov/pub/tzdata2008X.tar.gz $ mkdir zoneinfo $ cd zoneinfo/ $ tar zxf ../tzdata2008X.tar.gz $ zic -d zoneinfo africa antarctica asia australasia etcetera \ europe factory northamerica southamerica systemv $ /bin/cp -fR zoneinfo/* /usr/share/zoneinfo/ $ /bin/cp zoneinfo/Australia/Sydney /etc/localtime
Afterwards, do the checks again to see if changes were successful:
As expected!$ date -r `expr 1206529200` Wed Mar 26 22:00:00 EST 2008 $ date -r `expr 1206529200 + 86400 \* 7` Wed Apr 2 22:00:00 EST 2008 $ date -r `expr 1206529200 + 86400 \* 14` Wed Apr 9 21:00:00 EST 2008
You should note that all applications need to be restarted to start using the new tzdata files. This includes all FreeBSD jails.
Posted on 2008-03-25 09:00:09, modified on 2008-03-25 09:00:00
Tags: FreeBSD, zoneinfo
Commit of the day for src/share/zoneinfo:
This is availabe in FreeBSD > 7.0, > 6.3 and > 5.5 and in the ports collection (as misc/zoneinfo).Changes: - Calcutta -> Kolkata - Iraq DST changes - Syria DST changes - Saigon -> Ho_Chi_Minh - Cuba DST changes - New area America/Argentina/San_Luis
Posted on 2008-03-10 09:00:09, modified on 2008-03-10 09:00:00
Tags: FreeBSD, zoneinfo
Commit of the day for src/share/zoneinfo:
This is availabe in FreeBSD > 7.0, > 6.3 and > 5.5 and in the ports collection (as misc/zoneinfo).- Chilis DST has been extended for 3 weeks. - No leapsecond in 2008
Posted on 2008-01-01 18:00:00, modified on 2008-01-06 19:00:00
Tags: FreeBSD, zoneinfo
Commit of the day for src/share/zoneinfo:
MFV of tzdata2007k Timezone data changes in this import: - Add Argentinian DST changes - Place SJH in the right location
This will be availabe in FreeBSD >= 7.0, >= 6.3 and >5.5 and in the ports collection (as misc/zoneinfo).
Updated: MFCed into RELENG_7_0 and RELENG_6_3 so it will be available for the releases of 6.3 and 7.0.
Posted on 2007-12-04 10:00:00, modified on 2008-01-06 19:00:00
Tags: FreeBSD, zoneinfo, iso3166
Commit of the day for src/share/zoneinfo:
and of src/share/misc/iso3166:MFV of tzdata2007j Timezone data changes in this import: - Add America/St_Barthelemy (BL) and America/Marigot (MF) - Venezuela will move to -4:30 on 9 December 2007 instead of 31 December 2007
Update with data from Newsletter VI-1 2007-09-21: - Added SAINT BARTHELEMY (BL) and SAINT MARTIN (MF).
This will be availabe in FreeBSD >7.0, >6.3 and >5.5 and in the ports collection (as misc/zoneinfo) once the ports freeze has been lifted or use ports/118409 to update your system earlier.
Note: the iso3166 and the zoneinfo updates are MFCed into RELENG_7_0 and RELENG_6_3 so it will be available for the releases of 7.0 and 6.3.