A strapi custom field for selecting any timezone based on the moment.js timezones.
A strapi custom field for selecting any timezone based on the moment.js timezones.
To install this plugin, you need to add an NPM dependency to your Strapi application:
1
2
3
4
5
# 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:
1
2
3
4
5
# Using Yarn
yarn build
# Or using NPM
npm run build
After installation you will find the timezone-select at the custom fields section of the content-type builder.
Now you can select any country from the list. The Alpha-2 code of the selected timezone is stored in the database.
This plugin is inspired by Chris Ebert's strapi-plugin-country-select
npm install strapi-plugin-timezone-select
Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.