Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Updating timezone data
Clone this wiki locally
If you find that a JRuby release does not have the latest time zone data, and if you think this is important, you can build JRuby from source with the most up-to-date Olson database.
Note that MRI relies on the underlying OS to provide date and time information.
- Move to the root of the JRuby source.
- Optionally edit
tzdata.latest.versionto the version you want. (If you don't know what you need, you can leave the default in. We try to keep this value fairly up-to-date.)
ant clean compile-tzdata jar.
- Confirm that you have the new version of tzdata:
./bin/jruby -rrbconfig -e 'p RbConfig::CONFIG["tzdata.version"]' "2012b"