android - DatePicker android - changing day from 31 to 1 also change the month (+1)
问题描述
I'm using react-native-datetimepicker to include a native datepicker in my app.
With iOS all works good, but I have some problems with the android version... If I change the day from 31 to 1, also the month will change (example: from 31 January to 01 February). The same thing happens with the years (January 2020 --> december 2019)
I'm using the "spinner" datepicker.
There's a way to do it? or simply this is a native android behaviour?
解决方案
推荐阅读
- powershell - 如何使用 powershell 同时为所有用户禁用和启用 Office 365 应用程序?
- objective-c - 在 NSView 中显示 SpriteKit 视图 (SKView)
- javascript - Socket.io 客户端没有收到来自服务器的消息
- sql - SQL Server 2008 RS 角色多个数据库
- javascript - React.js setState 不起作用
- javascript - 在 html 文档中的元素上搜索文本
- wpf - PRISM WPF 自定义交互请求 - 动态视图控件无法正确显示
- python - 通过包含行和列索引作为列的另一个 DataFrame 使用 MultiIndex Rows 和 Columns 索引 DataFrame
- vba - excel宏输入
- python - python **kwags 错误:函数接受 6 个位置参数,但给出了 8 个