mmazzarolo / react-native-modal-datetime-picker

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

Custom Calendar #70

Closed farnoodma closed 7 years ago

farnoodma commented 7 years ago

Hi, Is there anyway to implement custom calendar such as persian calendar?

mmazzarolo commented 7 years ago

This component behind the hood uses react-native's own DatePickerAndroid, TimePickerAndroid and DatePickerIOS. This means that a feature like the one you're proposing must be supported by both DatePickerAndroid/TimePickerAndroid and DatePickerIOS for being implemented correctly on react-native-modal-datetime-picker.

Do the native picker implementations work with the persian calendar?

mmazzarolo commented 7 years ago

Closing, feel free to create a new issue if needed 👍

Also, please be aware that I created the following "new issue template" that, if followed correctly, will speed up a lot the issue resolution:


When reporting a bug, please be sure to check if the issue still persists with react-native original date/time pickers:

Under the hood react-native-modal-datetime-picker react-native original DatePickerAndroid, TimePickerAndroid and DatePickerIOS.
Before reporting a bug, try swapping react-native-datetime-picker with react-native original date/time pickers to check if the problem persists.

When reporting a bug, please be sure to include the following:

When you open an issue for a feature request, please add as much detail as possible:

Please note by far the quickest way to get a new feature is to file a Pull Request.