JSPM

strapi-plugin-timezone-select

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 215
  • Score
    100M100P100Q92991F
  • License MIT

A Strapi custom field to select a Olson/IANA time zone (e.g. Africa/Ndjamena America/New_York, Asia/Bangkok, Europe/Paris, Oceania/Sydney)

Package Exports

  • strapi-plugin-timezone-select/package.json
  • strapi-plugin-timezone-select/strapi-admin
  • strapi-plugin-timezone-select/strapi-server

Readme

Strapi plugin timezone-select

A Strapi custom field to select a Olson/IANA time zone.

Examples:

  • Africa/Ndjamena
  • America/New_York,
  • Asia/Bangkok,
  • Europe/Paris,
  • Oceania/Sydney

Installation

To install this plugin, you need to add an NPM dependency to your Strapi application:

# Using Yarn
yarn add strapi-plugin-timezone-select

# Or using NPM
npm install strapi-plugin-timezone-select

Then, you'll need to build your admin panel:

# Using Yarn
yarn build

# Or using NPM
npm run build

Usage

After installation you will find the timezone-select at the custom fields section of the content-type builder.

timezone select screenshot

Now you can select any country from the list. The Alpha-2 code of the selected timezone is stored in the database.

timezone select screenshot

This plugin is inspired by Chris Ebert's strapi-plugin-country-select