Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何/ -在用户数字期间在 DayPickerInput 中添加分隔符?
/ -
例如在它的语言环境中:23091989数字应该等于23/09/1989
23091989
23/09/1989
您可以将任何格式化程序/解析器传递给formatDateorparseDate道具:
formatDate
parseDate
http://react-day-picker.js.org/api/DayPickerInput#formatDate