gems tzinfo 0.0.2
v0.0.2

latest releases: 0.3.62, 2.0.6, 1.2.11...
15 years ago
  • 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.
  • Timezone and Country instances 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 (https://web.archive.org/web/20060425190845/http://lunchroom.lunchboxsoftware.com/pages/tzinfo_rails)

TZInfo v0.0.2 on RubyGems.org

Don't miss a new tzinfo release

NewReleases is sending notifications on new releases.