RE: Question about "only" RULE lines
it's the last ... rule in effect, which is 1919 Oct lastSun at 2:00, i.e., standard time.
Thank you. That part wasn't clear from the docs.
You can debug your understanding by using the command "zdump -v America/Chicago".
Well, actually I can't, since I'm stuck using Wintel systems. And while I can read C at about the level that most 13-year-olds read Hebrew (and for almost exactly the same reasons), I had some difficulty getting through the raw zdump.c code. Any tips for compiling it using MSVC? I'm a little out of my depth here.
If you're comfortable using Java, you can examine the tz compiler in the Joda-Time project. David Braverman wrote:
it's the last ... rule in effect, which is 1919 Oct lastSun at 2:00, i.e., standard time.
Thank you. That part wasn't clear from the docs.
You can debug your understanding by using the command "zdump -v America/Chicago".
Well, actually I can't, since I'm stuck using Wintel systems. And while I can read C at about the level that most 13-year-olds read Hebrew (and for almost exactly the same reasons), I had some difficulty getting through the raw zdump.c code.
Any tips for compiling it using MSVC? I'm a little out of my depth here.
Does anyone have a list of zones which are changing due to the US change in dst rules? (That is, the rules part of the Posix TZ string is changing from M4.1.0/2,M10.5.0/2 to M3.2.0/2,M11.1.0/2 .) -- Dave Cantor Groton, CT 06340-3731 Dave@Cantor.mv.com
"Dave Cantor" <Dave@Cantor.mv.com> writes:
Does anyone have a list of zones which are changing due to the US change in dst rules? (That is, the rules part of the Posix TZ string is changing from M4.1.0/2,M10.5.0/2 to M3.2.0/2,M11.1.0/2 .)
I don't, but it should be easy to generate one by looking for the string "2007" in the files.
"David Braverman" <david@inner-drive.com> writes:
Any tips for compiling it using MSVC?
Sorry, no, I've never used MSVC. But there's a simpler solution for you than learning C and MSVC. Download an Ubuntu image <http://www.ubuntu.com/>, burn a CD with it, boot the CD, and you're off to the races. It won't touch your disk unless you specifically ask it to install, and it should run all the tz stuff with no problem, even without installing stuff onto disk. If for some reason you shy away from distributions with "U" in their name, there are other possibilities for example, Knoppix <http://www.knoppix.org/> and Fedora Core <http://fedora.redhat.com/>. I'm writing this from an AMD Opteron-based box running SunOS 5.10, which also solves the problem, so it's not like Knoppix/Fedora/Ubuntu are the only choices. Or perhaps you're at a place which for nontechnical reasons forbids you to use anything but Microsoft Windows? If so, you can go to another place. (There's a Starbucks most every corner these days, and they won't mind if you run Ubuntu on your laptop there to answer questions like these. :-)
On Wed, Dec 27, 2006 at 01:43:52PM -0000, David Braverman wrote:
it's the last ... rule in effect, which is 1919 Oct lastSun at 2:00, i.e., standard time.
Thank you. That part wasn't clear from the docs.
I think the fundamental thing to understand about rules in tzdata files is: The "Rules" purpose is to specify *transitions* at points in time. The Rules primary purpose is *not* to specify what offset and abbreviation apply for a given zone at a particular time. However, you can easily work this out once you use the rules to determine what was the previous transition before the particular time. Is this documented in zic(8)? ___________________________________________________________________________ David Keegel <djk@cybersource.com.au> http://www.cyber.com.au/users/djk/ Cybersource P/L: Linux/Unix Systems Administration Consulting/Contracting
participants (5)
-
Brian S O'Neill -
Dave Cantor -
David Braverman -
David Keegel -
Paul Eggert