Dataset Viewer
The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    AttributeError
Message:      'str' object has no attribute 'items'
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response
                  config_names = get_dataset_config_names(
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                                   ^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1029, in dataset_module_factory
                  raise e1 from None
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 1004, in dataset_module_factory
                  ).get_module()
                    ^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/load.py", line 682, in get_module
                  config_name: DatasetInfo.from_dict(dataset_info_dict)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/info.py", line 284, in from_dict
                  return cls(**{k: v for k, v in dataset_info_dict.items() if k in field_names})
                                                 ^^^^^^^^^^^^^^^^^^^^^^^
              AttributeError: 'str' object has no attribute 'items'

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Dataset Card: Timezones

Overview

This dataset is a historical record of timezone rules and transitions. Each row captures a named timezone, the applicable country code (when available), the abbreviation in effect, the start time for that rule, the GMT offset in seconds, and whether daylight saving time is active.

Files

  • timezones.csv: Main dataset.

Schema

Columns in timezones.csv:

Column Type Description
zone_name string IANA timezone name (e.g., Africa/Accra, Etc/UTC).
country_code string ISO 3166-1 alpha-2 country code; empty for global zones like Etc/UTC.
abbreviation string Timezone abbreviation in effect (e.g., GMT, CEST).
time_start integer Start time for the rule as Unix seconds since epoch (UTC).
gmt_offset integer Offset from UTC in seconds (can be negative).
dst integer Daylight saving flag: 1 if DST, otherwise 0.

Suggested Use

  • Reconstruct historical timezone offsets for a given zone_name.
  • Validate timezone transitions in time-series pipelines.
  • Generate offset-aware calendars and reports.

Data Quality Notes

  • Some zones have many historical transitions; ensure you select the row with the greatest time_start less than or equal to the target timestamp.
  • Abbreviations are not unique across zones or time periods.
  • country_code can be empty for non-country-specific zones.

Known Limitations

  • No explicit end time is provided for each rule; consumers must infer end time from the next rule for the same zone_name.
  • Source and update cadence are not specified in this repository.

Source

Timezone data collected from https://timezonedb.com/.

License

MIT (see front matter at the top of this file).

Downloads last month
17