innerdvations / strapi-plugin-timezone-select

A strapi custom field for selecting any timezone based on the moment.js timezones

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strapi plugin timezone-select

A strapi custom field for selecting any timezone based on the moment.js timezones.

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

Related

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

About

A strapi custom field for selecting any timezone based on the moment.js timezones

License:MIT License


Languages

Language:JavaScript 100.0%