mmazzarolo / react-native-modal-datetime-picker

A React-Native datetime-picker for Android and iOS
MIT License
2.96k stars 396 forks source link

Deps: @react-native-community/datetimepicker timezone issue #721

Open punndcoder28 opened 1 year ago

punndcoder28 commented 1 year ago

Environment

System:
    OS: macOS 13.5.1
    CPU: (8) x64 Apple M1
    Memory: 42.25 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 19.2.0 - /private/var/folders/4f/r0sb285s6711y0thcl6d61lw0000gn/T/xfs-78a16987/node
    Yarn: 3.5.1 - /private/var/folders/4f/r0sb285s6711y0thcl6d61lw0000gn/T/xfs-78a16987/yarn
    npm: 8.19.3 - ~/.nvm/versions/node/v19.2.0/bin/npm
    Watchman: 2023.08.14.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.3 AI-213.7172.25.2113.9123335
    Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.17 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0
    react-native: 0.70.6 => 0.70.6
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Platforms

Both iOS and Android

Versions

Description

The latest version of @react-native-community/datetimepicker has added new prop for setting timezone in the picker in the latest release 7.5.0. The dependency of @react-native-community/datetimepicker should be updated to the latest version to expose the new prop for setting the timezone

AnuragTiwari1 commented 8 months ago

I am facing this issue as well. any fix/workaround for this?