1.2.6 • Published 4 years ago

timezone-abbreviations v1.2.6

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Timezone Abbreviations

JavaScript doesn't provide abbreviations list, and moment.js might be overkill for my project, so I create a package and get the timezone abbreviations data from https://en.wikipedia.org/wiki/List_of_time_zone_abbreviations and extract zone string from moment.js and verified by Intl.DateTimeFormat.

Usage

npm install timezone-abbreviations
import timezones from "timezone-abbreviations";

console.log(
  "timezone",
  ...timezones.filter((item) => item.abbr === "AEST") 
);

// output:
// {
//   abbr: 'AEST',
//   description: 'Australian Eastern Standard Time',
//   offset: 'UTC+10',
//   names: [
//     'Australia/Brisbane',
//     'Australia/Lindeman',
//     'Australia/Queensland'
//   ]
// }
1.2.6

4 years ago

1.2.5

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.5

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago