Posted By: Philip Ross
Date: 2005-09-14 22:40
Summary: TZInfo v0.0.2 Released
Project: TZInfo

Version 0.0.2 of TZInfo has been released (based on version 2005m of the underlying tz data). Changes in this release:

* Country and Timezone data is now loaded into class rather than instance variables. This makes Timezone links more efficient and saves memory if creating specific Timezone and Country classes directly.
* TimezonePeriod zone_identifier is now defined as a symbol to save memory (was previously a string).
* TimezonePeriod zone_identifiers that were previously '' are now :Unknown.
* Timezones and Countries can now be returned using Timezone.new(identifier) and country.new(identifier). When passed an identifier, the new method calls get to return an instance of the specified timezone or country.
* Added new class methods to Timezone to return sets of zones and identifiers.

Thanks to Scott Barron of Lunchbox Software for the suggestions in his article about using TZInfo with Rails (http://lunchroom.lunchboxsoftware.com/pages/tzinfo_rails).

GEM, zip and tar.gz files can be found at http://rubyforge.org/frs/?group_id=894. You can use 'gem update' to upgrade if you already tzinfo installed.

Latest News
TZInfo::Data v1.2014.2 Released
    Philip Ross - 2014-03-25 22:32
TZInfo v0.3.39 Released
    Philip Ross - 2014-03-09 20:23
TZInfo::Data v1.2014.1 Released
    Philip Ross - 2014-03-09 20:00
Automatic Ruby 14.2.0 has been released!
    id 774 - 2014-02-26 06:23
kramdown 1.3.2 released
    Thomas Leitner - 2014-02-16 08:35

 

Forums | Admin

Discussion Forums: tzinfo-v0.0.2-released

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post