@eohjsc/react-native-smart-city 0.6.0-rc6 → 0.6.0-rc7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eohjsc/react-native-smart-city",
3
3
  "title": "React Native Smart Home",
4
- "version": "0.6.0-rc6",
4
+ "version": "0.6.0-rc7",
5
5
  "description": "TODO",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -160,7 +160,7 @@
160
160
  "react-native-localize": "^1.4.1",
161
161
  "react-native-maps": "^1.15.6",
162
162
  "react-native-modal": "^13.0.1",
163
- "react-native-modal-datetime-picker": "^15.0.0",
163
+ "react-native-modal-datetime-picker": "^17.1.0",
164
164
  "react-native-new-snap-carousel": "^3.9.3",
165
165
  "react-native-onesignal": "^4.3.1",
166
166
  "react-native-pager-view": "^5.4.1",
@@ -119,7 +119,7 @@ const DateTimeRangeChange = memo(
119
119
  </View>
120
120
  <DateTimePickerModal
121
121
  isVisible={eventPicker.showModalStart}
122
- date={startDate.valueOf()}
122
+ date={new Date(startDate.valueOf())}
123
123
  mode={mode}
124
124
  onConfirm={onConfirmStart}
125
125
  onCancel={onCancel}
@@ -132,7 +132,7 @@ const DateTimeRangeChange = memo(
132
132
  />
133
133
  <DateTimePickerModal
134
134
  isVisible={eventPicker.showModalEnd}
135
- date={endDate.valueOf()}
135
+ date={new Date(endDate.valueOf())}
136
136
  mode={mode}
137
137
  onConfirm={onConfirmEnd}
138
138
  onCancel={onCancel}