forked from jruby/jruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Updating timezone data
BanzaiMan edited this page Mar 20, 2012
·
2 revisions
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.
Environment in which ftp Ant task can run. This means that you have Apache Commons Net installed and available for your JVM (and ant).
- Move to the root of the JRuby source.
- Optionally edit
default.build.propertiesand settzdata.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.) - Run
ant clean compile-tzdata jar. - Confirm that you have the new version of tzdata:
./bin/jruby -rrbconfig -e 'p RbConfig::CONFIG["tzdata.version"]'
"2012b"