[types] timeZoneOffsetInMinutes is not available on DateTimePickerAndroid.open types
douglasjunior opened this issue · comments
Bug report
Despite the property is available as documented here, and on works fine on both Android and iOS, in the type definition the prop is available only for iOS.
Summary
Reproducible sample code
N/A
Steps to reproduce
Just install the library on a TypeScript project and write the code:
DateTimePickerAndroid.open({
value: new Date(),
timeZoneOffsetInMinutes: 0,
});
Environment info
System:
OS: macOS 13.5.1
CPU: (8) arm64 Apple M1
Memory: 128.88 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node
Yarn: 3.5.0 - ~/.nvm/versions/node/v18.17.1/bin/yarn
npm: 9.6.7 - ~/.nvm/versions/node/v18.17.1/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.12.0 - /Users/douglas.junior/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK:
API Levels: 31, 32, 33
Build Tools: 30.0.2, 30.0.3, 33.0.0
Android NDK: Not Found
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9477386
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 11.0.19 - /opt/homebrew/opt/openjdk@11/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.13 => 0.71.13
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
datetimepicker version: 7.6.2
Android version: 13
Sorry, now I see that the timeZoneOffsetInMinutes
is deprecated.