Dates are not showing on iOS
See original GitHub issueEnvironment
info
React Native Environment Info:
System:
OS: macOS 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 1.81 GB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 12.6.0 - /usr/local/bin/node
Yarn: 1.15.2 - /usr/local/bin/yarn
npm: 6.11.3 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
Android SDK:
API Levels: 29
Build Tools: 29.0.2
System Images: android-29 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5791312
Xcode: 10.3/10G8 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz => 0.59.8
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-log-ios: 1.0.1
Platforms
iOS
Versions
- Android:
- iOS: 13.1.1
- react-native-modal-datetime-picker: ^7.5.0
- react-native: Using expo: https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz
- react: 16.8.3
Description
Reproducible Demo
import React, { useState } from "react";
import DateTimePicker from "react-native-modal-datetime-picker";
import { View, Text, TouchableOpacity } from "react-native";
const Notifications = () => {
const [isDatePickerVisible, setIsDatePickerVisible] = useState(false);
return (
<View>
<TouchableOpacity onPress={() => setIsDatePickerVisible(true)}>
<Text>Click me</Text>
</TouchableOpacity>
<DateTimePicker
isVisible={isDatePickerVisible}
mode="time"
onConfirm={time => {
setIsDatePickerVisible(false);
}}
onCancel={() => setIsDatePickerVisible(false)}
/>
</Container>
);
};
export default Notifications;
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Date not showing on iPhone lock screen - Apple Community
Date not showing on iPhone lock screen · 1.Open Settings · 2.Tap on General · 3.Scroll down and tap on Reset · 4.Select...
Read more >How To FIX iPhone Date & Time Not Changing! (2022)
How To FIX iPhone Date & Time Not Changing! (2022) ; Get The Cheapest iPhones Here: https://amzn.to/3JTnWAr ; Get The Cheapest Androids Here: ......
Read more >Date filtering does not appear on iOS devices - Stack Overflow
I wanted to filter the dates. It works on PC and android devices but fails on iOS devices. javascript · php · responsive....
Read more >5 Fixes iPhone Showing Wrong Date & Time in iOS 16
Video tutorial to fix iPhone showing wrong date and time · Step 1. Open Settings app from your iPhone home screen > General....
Read more >Update Date & Time on Your Device - Square
Update Date & Time on Your iOS Device · From your home screen, navigate to Settings. · Tap General. · Tap Date &...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
These instructions worked: https://github.com/mmazzarolo/react-native-modal-datetime-picker#is-the-ios-dark-mode-supported
Thanks a lot for the help!
Glad it worked!