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
On this page
Latest version 2.0.6. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
- From 1.0.0 to 2.0.0: 51 breaking changes in 1 version.
- From 0.1.0 to 2.0.0: 61 breaking changes in 3 versions.
tzinfo 2.0.0 breaking changes
- Removed
The minimum supported Ruby MRI version is now 1.9.3. Older Ruby MRI versions are no longer supported. github.com - Removed
TZInfo.Country.data_source
The method can no longer be called from outside the class. github.com - Removed
TZInfo.Country.new
Use TZInfo::Country.get(code) to obtain a country. github.com - Removed
TZInfo.DataSource.create_default_data_source
The method can no longer be called from outside the class. github.com - Removed
TZInfo.DataSources.ZoneinfoDataSource.DEFAULT_ALTERNATE_ISO3166_TAB_SEARCH_PATH
The constant can no longer be accessed from outside the class. github.com - Removed
TZInfo.DataSources.ZoneinfoDataSource.DEFAULT_SEARCH_PATH
The constant can no longer be accessed from outside the class. github.com - Removed
TZInfo.DataSources.ZoneinfoDataSource.process_search_path
The method can no longer be called from outside the class. github.com - Removed
TZInfo.TimeOrDateTime
The class no longer exists. github.com - Removed
TZInfo.Timezone
Pass Time, DateTime or TZInfo::Timestamp values instead of Integer timestamps. github.com - Removed
TZInfo.Timezone.data_source
The method can no longer be called from outside the class. github.com - Removed
TZInfo.Timezone.get_proxies
The method can no longer be called from outside the class. github.com - Removed
TZInfo.Timezone.new
Use TZInfo::Timezone.get(identifier) to obtain a timezone. github.com - Removed
TZInfo.Timezone.us_zone_identifiers
Use TZInfo::Country.get('US').zones and zone_identifiers instead. github.com - Removed
TZInfo.Timezone.us_zones
Use TZInfo::Country.get('US').zones and zone_identifiers instead. github.com - Removed
TZInfo.TimezoneOffset.to_local
Perform conversions using the TZInfo::Timezone class instead. github.com - Removed
TZInfo.TimezoneOffset.to_utc
Perform conversions using the TZInfo::Timezone class instead. github.com - Removed
TZInfo.TimezonePeriod.local_after_start?
Compare using starts_at, ends_at, local_starts_at and local_ends_at instead. github.com - Removed
TZInfo.TimezonePeriod.local_before_end?
Compare using starts_at, ends_at, local_starts_at and local_ends_at instead. github.com - Removed
TZInfo.TimezonePeriod.to_local
Perform conversions using the TZInfo::Timezone class instead. github.com - Removed
TZInfo.TimezonePeriod.to_utc
Perform conversions using the TZInfo::Timezone class instead. github.com - Removed
TZInfo.TimezonePeriod.utc_after_start?
Compare using starts_at, ends_at, local_starts_at and local_ends_at instead. github.com - Removed
TZInfo.TimezonePeriod.utc_before_end?
Compare using starts_at, ends_at, local_starts_at and local_ends_at instead. github.com - Removed
TZInfo.TimezonePeriod.utc_total_offset_rational
Use observed_utc_offset to obtain equivalent information. github.com - Removed
TZInfo.TimezonePeriod.valid_for_local?
Compare using starts_at, ends_at, local_starts_at and local_ends_at instead. github.com - Removed
TZInfo.TimezonePeriod.valid_for_utc?
Compare using starts_at, ends_at, local_starts_at and local_ends_at instead. github.com - Removed
TZInfo.TimezoneTransition.datetime
Use at, local_end_at or local_start_at and convert with to_datetime or to_time. github.com - Removed
TZInfo.TimezoneTransition.local_end
Use local_end_at or local_start_at and convert with to_datetime or to_time. github.com - Removed
TZInfo.TimezoneTransition.local_end_time
Use local_end_at or local_start_at and convert with to_datetime or to_time. github.com - Removed
TZInfo.TimezoneTransition.local_start
Use local_end_at or local_start_at and convert with to_datetime or to_time. github.com - Removed
TZInfo.TimezoneTransition.local_start_time
Use local_end_at or local_start_at and convert with to_datetime or to_time. github.com - Removed
TZInfo.TimezoneTransition.time
Use at, local_end_at or local_start_at and convert with to_datetime or to_time. github.com - Removed
TZInfo.TransitionDataTimezoneInfo
Use TransitionsDataTimezoneInfo or ConstantOffsetDataTimezoneInfo instead. github.com - Renamed
TZInfo.InvalidZoneinfoDirectory
Rescue clauses must reference the exception classes in the DataSources module. github.com - Renamed
TZInfo.RubyDataSource
Code referencing RubyDataSource must use the DataSources namespace. github.com - Renamed
TZInfo.TimezoneOffset.utc_offset
The old name is kept as an alias, but new code should use base_utc_offset. github.com - Renamed
TZInfo.TimezoneOffset.utc_total_offset
The old name is kept as an alias, but new code should use observed_utc_offset. github.com - Renamed
TZInfo.TimezonePeriod.utc_offset
The old name is kept as an alias, but new code should use base_utc_offset. github.com - Renamed
TZInfo.TimezonePeriod.utc_total_offset
The old name is kept as an alias, but new code should use observed_utc_offset. github.com - Renamed
TZInfo.ZoneinfoDataSource.alternate_iso3166_tab_search_path
Code setting alternate_iso3166_tab_search_path must reference the new DataSources::ZoneinfoDataSource class. github.com - Renamed
TZInfo.ZoneinfoDataSource.search_path
Code setting search_path must reference the new DataSources::ZoneinfoDataSource class. github.com - Renamed
TZInfo.ZoneinfoDirectoryNotFound
Rescue clauses must reference the exception classes in the DataSources module. github.com - Behavior changed
TZInfo.DataSource.timezone_identifiers
Custom data sources must implement data_timezone_identifiers and linked_timezone_identifiers instead. github.com - 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 - 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 - Behavior changed
TZInfo.Timezone.offsets_up_to
Results now account for the UTC offset of the time arguments instead of ignoring it. github.com - Behavior changed
TZInfo.Timezone.strftime
Results now account for the UTC offset of the time arguments instead of ignoring it. github.com - Behavior changed
TZInfo.Timezone.transitions_up_to
Results now account for the UTC offset of the time arguments instead of ignoring it. github.com - Behavior changed
TZInfo.TimezoneOffset.abbreviation
Code expecting Symbol values from these methods must be updated to handle frozen String values. github.com - Behavior changed
TZInfo.TimezonePeriod
Periods are now returned as OffsetTimezonePeriod or TransitionsTimezonePeriod instead of TimezonePeriod. github.com - Behavior changed
TZInfo.TimezonePeriod.abbreviation
Code expecting Symbol values from these methods must be updated to handle frozen String values. github.com
And 1 more in this version. Sign up to see every change
tzinfo 1.0.0 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 - 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 - Removed
TimezonePeriod.offset
offset can no longer be called publicly on TimezonePeriod. Use the other TimezonePeriod instance methods to access period properties. github.com - 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 - 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 - 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
tzinfo 0.3.0 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 - 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 - 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 - 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
tzinfo 0.1.0 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 - 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 - 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 - 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
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.