Subject: Re: misc/35981: Canada timezones need new daylight savings time
To: None <gnats-bugs@NetBSD.org, misc-bug-people@NetBSD.org,>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: netbsd-bugs
Date: 03/12/2007 05:06:50
On Jun 27, 1:42pm, anne@porcupine.montreal.qc.ca wrote:
}
} >Number: 35981
} >Category: misc
} >Synopsis: Canada timezones need new daylight savings time
} >Description:
} /usr/src/share/zoneinfo/northamerica does not contain the new
} timezone changes for Canada, even after cvs update. Result:
} the time is wrong.
Did you use 'cvs update -A'? Quebec didn't adopt the change until
December 2006, so the change won't be on the branch (yet).
} >Fix:
} This seems to work, hope I did it correctly. I'm not 100% sure
} that this solution is correct, but it works for my time zone.
}
} diff /usr/src/share/zoneinfo/.old/northamerica.20070211* \
} /usr/src/share/zoneinfo/northamerica
} # 823,824c823,827
} # < Rule Canada 1974 max - Oct lastSun 2:00 0 S
} # < Rule Canada 1987 max - Apr Sun>=1 2:00 1:00 D
} # ---
} # > Rule Canada 1974 2006 - Oct lastSun 2:00 0 S
} # > Rule Canada 1987 2006 - Apr Sun>=1 2:00 1:00 D
} # > # 2007-03-11 Anne Bennett: oops, Canada made the same change as the US:
} # > Rule Canada 2007 max - Mar Sun>=8 2:00 1:00 D
} # > Rule Canada 2007 max - Nov Sun>=1 2:00 0 S
This would probably work, but I would reverse the order of the
last two rules just to keep everything consistent.
}-- End of excerpt from anne@porcupine.montreal.qc.ca