The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Dealing with TZ parsing (on Windows)

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Daniel Berger

Posts: 1383
Nickname: djberg96
Registered: Sep, 2004

Daniel Berger is a Ruby Programmer who also dabbles in C and Perl
Dealing with TZ parsing (on Windows) Posted: May 3, 2006 3:11 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Daniel Berger.
Original Post: Dealing with TZ parsing (on Windows)
Feed Title: Testing 1,2,3...
Feed URL:
Feed Description: A blog on Ruby and other stuff.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Daniel Berger
Latest Posts From Testing 1,2,3...

Tired of dealing with the fact that Ruby's ParseDate class doesn't handle long time zone names properly, I finally went in and edited my registry. For those who care, here's the base key:


There change the StandardName and DaylightName keys. Note that you'll need to reboot.

Technically, this is not a Windows issue. Your *nix box could be set to return long time zone names as well, but most aren't. I think the default behavior for most systems depends on how the system was configured during installation. On Solaris, it looks like the time zone stuff is set under /usr/lib/share/zoneinfo. I wouldn't know how to change it, though, without further research. Not that I'd want to.

Anyway, hope that helps some future Googler.

Read: Dealing with TZ parsing (on Windows)

Topic: Projections Previous Topic   Next Topic Topic: Official RDT 0.8.0 Release

Sponsored Links


Copyright © 1996-2018 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use