All Versions
7
Latest Version
Avg Release Cycle
25 days
Latest Release
1460 days ago

Changelog History

  • v0.9.9 Changes

    December 07, 2020

    โž• Added package.json attributes for import/export to better support usage as an ESM Module.

  • v0.9.7 Changes

    November 07, 2020

    ๐Ÿš€ This is a smaller release which redefines how we parse the value passed into value.

    It now allows, for example, to simply pass in the timezone name (i.e. "Europe/Berlin") if thats all you store in your DB, and it'll find the correct timezone object and use it.

    Thanks #11 for the issue / suggestion!

  • v0.9.3 Changes

    October 13, 2020

    โšก๏ธ Update value passed to react-select onChange to only the timezone identifier (i.e. 'Europe/Berlin') instead of the whole object, in order to avoid inconsistencies between values saved during DST / non-DST.

  • v0.9.2 Changes

    October 08, 2020

    โšก๏ธ Minor update to 0.9.1. Fixed some typos and other inconsistencies.

    ๐Ÿ“ฆ https://www.npmjs.com/package/react-timezone-select

  • v0.9.1 Changes

    October 08, 2020

    ๐Ÿ’… Now with more label styles!

    The return value of onChange returns additional information on the timezone - sourced from spacetime-informal, including the local 3-4 character abbreviation and alternative name.

    i.e.

    {
      value: 'America/Detroit'
      label: '(GMT-4:00) Eastern Time'
      name: 'Eastern Daylight Time'
      abbrev: 'EDT'
    }
    

    ๐Ÿ’… These can also be appended to the select options by using the new labelStyle prop. It accepts one of three strings (original | altName | abbrev). See the README for examples of the dropdown styles.

  • v0.8.3 Changes

    July 11, 2020

    ๐Ÿ”จ Refactored the function to create / generate the timezone options and took that opportunity to swap out the notoriously heavy moment.js for the relatively unknown but competent competitor spacetime. DST is still taken into account when generating each timezones select option.

    Bundlesize went from ~127kb to ~42kb (!!)

  • v0.7.9

    July 11, 2020