react-timezone-select v0.9.1 Release Notes

Release Date: 2020-10-08 // over 3 years ago
  • ๐Ÿ’… 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.