---
title: "tzinfo 2.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each tzinfo release removed, renamed or changed: 65 breaking changes in 4 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/tzinfo
last_updated: 2026-12-04
---

# tzinfo breaking changes

tzinfo 2.0.0 (December 26, 2018) is its newest release with breaking changes, 51 of them. The first: tzinfo 2.0.0 requires Ruby MRI 1.9.3 or later. Every breaking API change we have recorded in tzinfo on RubyGems: 65 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.0.6`. [Source repository](https://github.com/tzinfo/tzinfo)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [1.0.0](#v-1-0-0) to [2.0.0](#v-2-0-0): 51 breaking changes in 1 version.
- From [0.1.0](#v-0-1-0) to [2.0.0](#v-2-0-0): 61 breaking changes in 3 versions.

## tzinfo 2.0.0 breaking changes

tzinfo 2.0.0, released December 26, 2018: 51 breaking changes.

- **Removed**  

The minimum supported Ruby MRI version is now 1.9.3. Older Ruby MRI versions are no longer supported. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.Country.data_source`  

The method can no longer be called from outside the class. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.Country.new`  

Use TZInfo::Country.get(code) to obtain a country. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.DataSource.create_default_data_source`  

The method can no longer be called from outside the class. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.DataSources.ZoneinfoDataSource.DEFAULT_ALTERNATE_ISO3166_TAB_SEARCH_PATH`  

The constant can no longer be accessed from outside the class. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.DataSources.ZoneinfoDataSource.DEFAULT_SEARCH_PATH`  

The constant can no longer be accessed from outside the class. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.DataSources.ZoneinfoDataSource.process_search_path`  

The method can no longer be called from outside the class. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimeOrDateTime`  

The class no longer exists. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.Timezone`  

Pass Time, DateTime or TZInfo::Timestamp values instead of Integer timestamps. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.Timezone.data_source`  

The method can no longer be called from outside the class. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.Timezone.get_proxies`  

The method can no longer be called from outside the class. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.Timezone.new`  

Use TZInfo::Timezone.get(identifier) to obtain a timezone. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.Timezone.us_zone_identifiers`  

Use TZInfo::Country.get('US').zones and zone_identifiers instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.Timezone.us_zones`  

Use TZInfo::Country.get('US').zones and zone_identifiers instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezoneOffset.to_local`  

Perform conversions using the TZInfo::Timezone class instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezoneOffset.to_utc`  

Perform conversions using the TZInfo::Timezone class instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezonePeriod.local_after_start?`  

Compare using starts_at, ends_at, local_starts_at and local_ends_at instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezonePeriod.local_before_end?`  

Compare using starts_at, ends_at, local_starts_at and local_ends_at instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezonePeriod.to_local`  

Perform conversions using the TZInfo::Timezone class instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezonePeriod.to_utc`  

Perform conversions using the TZInfo::Timezone class instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezonePeriod.utc_after_start?`  

Compare using starts_at, ends_at, local_starts_at and local_ends_at instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezonePeriod.utc_before_end?`  

Compare using starts_at, ends_at, local_starts_at and local_ends_at instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezonePeriod.utc_total_offset_rational`  

Use observed_utc_offset to obtain equivalent information. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezonePeriod.valid_for_local?`  

Compare using starts_at, ends_at, local_starts_at and local_ends_at instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezonePeriod.valid_for_utc?`  

Compare using starts_at, ends_at, local_starts_at and local_ends_at instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezoneTransition.datetime`  

Use at, local_end_at or local_start_at and convert with to_datetime or to_time. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezoneTransition.local_end`  

Use local_end_at or local_start_at and convert with to_datetime or to_time. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezoneTransition.local_end_time`  

Use local_end_at or local_start_at and convert with to_datetime or to_time. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezoneTransition.local_start`  

Use local_end_at or local_start_at and convert with to_datetime or to_time. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezoneTransition.local_start_time`  

Use local_end_at or local_start_at and convert with to_datetime or to_time. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TimezoneTransition.time`  

Use at, local_end_at or local_start_at and convert with to_datetime or to_time. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Removed** `TZInfo.TransitionDataTimezoneInfo`  

Use TransitionsDataTimezoneInfo or ConstantOffsetDataTimezoneInfo instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Renamed** `TZInfo.InvalidZoneinfoDirectory`  

Rescue clauses must reference the exception classes in the DataSources module. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Renamed** `TZInfo.RubyDataSource`  

Code referencing RubyDataSource must use the DataSources namespace. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Renamed** `TZInfo.TimezoneOffset.utc_offset`  

The old name is kept as an alias, but new code should use base_utc_offset. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Renamed** `TZInfo.TimezoneOffset.utc_total_offset`  

The old name is kept as an alias, but new code should use observed_utc_offset. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Renamed** `TZInfo.TimezonePeriod.utc_offset`  

The old name is kept as an alias, but new code should use base_utc_offset. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Renamed** `TZInfo.TimezonePeriod.utc_total_offset`  

The old name is kept as an alias, but new code should use observed_utc_offset. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Renamed** `TZInfo.ZoneinfoDataSource.alternate_iso3166_tab_search_path`  

Code setting alternate_iso3166_tab_search_path must reference the new DataSources::ZoneinfoDataSource class. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Renamed** `TZInfo.ZoneinfoDataSource.search_path`  

Code setting search_path must reference the new DataSources::ZoneinfoDataSource class. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Renamed** `TZInfo.ZoneinfoDirectoryNotFound`  

Rescue clauses must reference the exception classes in the DataSources module. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Behavior changed** `TZInfo.DataSource.timezone_identifiers`  

Custom data sources must implement data_timezone_identifiers and linked_timezone_identifiers instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Behavior changed** `TZInfo.DataSources.RubyDataSource`  

Setting the data source to :ruby or creating RubyDataSource raises TZInfoDataNotFound at once if tzinfo/data cannot be loaded. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Behavior changed** `TZInfo.DataSources.RubyDataSource.to_s`  

Output of to_s and inspect now includes the time zone database and tzinfo-data versions. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Behavior changed** `TZInfo.Timezone.offsets_up_to`  

Results now account for the UTC offset of the time arguments instead of ignoring it. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Behavior changed** `TZInfo.Timezone.strftime`  

Results now account for the UTC offset of the time arguments instead of ignoring it. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Behavior changed** `TZInfo.Timezone.transitions_up_to`  

Results now account for the UTC offset of the time arguments instead of ignoring it. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Behavior changed** `TZInfo.TimezoneOffset.abbreviation`  

Code expecting Symbol values from these methods must be updated to handle frozen String values. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Behavior changed** `TZInfo.TimezonePeriod`  

Periods are now returned as OffsetTimezonePeriod or TransitionsTimezonePeriod instead of TimezonePeriod. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)
- **Behavior changed** `TZInfo.TimezonePeriod.abbreviation`  

Code expecting Symbol values from these methods must be updated to handle frozen String values. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v2.0.0)

And 1 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## tzinfo 1.0.0 breaking changes

tzinfo 1.0.0, released June 2, 2013: 6 breaking changes.

- **Removed**  

The definition and index Ruby modules are no longer in TZInfo. Install the tzinfo-data gem to keep timezone data available. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v1.0.0)
- **Removed** `TimezonePeriod.end_transition`  

end_transition can no longer be called publicly on TimezonePeriod. Use the other TimezonePeriod instance methods to access period properties. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v1.0.0)
- **Removed** `TimezonePeriod.offset`  

offset can no longer be called publicly on TimezonePeriod. Use the other TimezonePeriod instance methods to access period properties. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v1.0.0)
- **Removed** `TimezonePeriod.start_transition`  

start_transition can no longer be called publicly on TimezonePeriod. Use the other TimezonePeriod instance methods to access period properties. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v1.0.0)
- **Behavior changed**  

If the tzinfo-data library is installed it is used as the default data source, otherwise zoneinfo files are used. Code relying on the old built-in data may see different results. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v1.0.0)
- **Configuration changed**  

Requiring tzinfo no longer adds its lib directory to the search path. The lib directory must already be on the search path before requiring tzinfo. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v1.0.0)

## tzinfo 0.3.0 breaking changes

tzinfo 0.3.0, released July 25, 2009: 4 breaking changes.

- **Behavior changed** `Country`  

Time zones within a Country are now returned in a geographically ordered sequence. Code that relied on the previous order may behave differently. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v0.3.0)
- **Behavior changed** `Timezone.all`  

Timezone.all returns every Timezone instance, including those not associated with countries. Code that assumed a country-only list will see more results. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v0.3.0)
- **Behavior changed** `Timezone.all_identifiers`  

Timezone.all_identifiers returns every timezone identifier, including those not associated with countries. Code that assumed a country-only list will see more results. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v0.3.0)
- **Behavior changed** `Timezone.get`  

Instances returned by Timezone.get are no longer instances of the data classes. Code that checks the class of these objects must use DataTimezone or LinkedTimezone instead. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v0.3.0)

## tzinfo 0.1.0 breaking changes

tzinfo 0.1.0, released July 25, 2009: 4 breaking changes.

- **Removed** `Riyadh Solar Time`  

The Riyadh Solar Time zones are excluded from the package because they are no longer observed. Code that uses them will no longer find them. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v0.1.0)
- **Behavior changed** `local_to_utc`  

Ambiguous local times (such as during a daylight-to-standard switch) are now resolved, and the result differs from before. Check the documentation and update code that relies on the old result. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v0.1.0)
- **Behavior changed** `period_for_local`  

Ambiguous local times (such as during a daylight-to-standard switch) are now resolved, and the result differs from before. Check the documentation and update code that relies on the old result. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v0.1.0)
- **Behavior changed** `TimezonePeriod`  

The final period for each timezone now ends unbounded instead of at an arbitrary end time. Code that reads that end time will see a different value. [github.com](https://github.com/tzinfo/tzinfo/releases/tag/v0.1.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
