@react-native-community/datetimepicker
Advanced tools
Comparing version 3.5.1 to 3.5.2
{ | ||
"name": "@react-native-community/datetimepicker", | ||
"version": "3.5.1", | ||
"version": "3.5.2", | ||
"description": "DateTimePicker component for React Native", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -69,6 +69,3 @@ /** | ||
let localDate = date; | ||
if ( | ||
typeof timeZoneOffsetInMinutes !== 'undefined' && | ||
timeZoneOffsetInMinutes >= 0 | ||
) { | ||
if (typeof timeZoneOffsetInMinutes === 'number') { | ||
const offset = | ||
@@ -75,0 +72,0 @@ localDate.getTimezoneOffset() * MIN_MS + timeZoneOffsetInMinutes * MIN_MS; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
176843
951