ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

zoneinfo

by gilmoreorless ALL

Sublime Text syntax highlighting for time zone database files (a.k.a. zoneinfo files)

Details

Installs

  • Total 361
  • Win 188
  • Mac 114
  • Linux 59
Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25
Windows 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime zoneinfo

A Sublime Text package that adds syntax highlighting for IANA time zone database files (a.k.a. zoneinfo files).

Also available as an extension for Visual Studio Code.

Syntax highlighting is provided for the raw time zone definition files:

  • africa
  • antarctica
  • asia
  • australasia
  • backward
  • backzone
  • etcetera
  • europe
  • factory
  • northamerica
  • pacificnew
  • southamerica
  • systemv

As well as associated metadata files:

  • iso3166.tab
  • leap-seconds.list
  • leapseconds
  • zone.tab
  • zone1970.tab

Example screenshot

Preview of syntax highlighted file

Installation

Find it as zoneinfo through Package Control.


If you really want, you can use the old-school manual installation method (but using Package Control is easier):

Find your package installation path with Sublime Text by selecting Preferences -> Browse Packages…

Then open that directory in a terminal and run git clone https://github.com/gilmoreorless/sublime-zoneinfo.git

Development

All highlighting rules are defined in zoneinfo.YAML-tmLanguage using YAML syntax. The zoneinfo.tmLanguage file is auto-generated from the YAML using PackageDev.

For consistency, any changes to syntax highlighting made in this package should also be made in vscode-zoneinfo.

Credits

This code is open source under the MIT license – © Gilmore Davidson.