Possible to change value for Datepicker picker="week"?
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
The selected value in the datepicker with picker=“week” is like 2021-32nd
, Is it possible to format it?
What is expected?
Should be able to format
What is actually happening?
Coming as 2021-32nd
Environment | Info |
---|---|
antd | 4.6.0 |
React | 16.14.0 |
System | macos |
Browser | Chrome |
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Set initial value in datepicker with jquery?
Sets the current date for the datepicker. The new date may be a Date object or a string in the current date format...
Read more >Datepicker Widget | jQuery UI API Documentation
CTRL / COMMAND + DOWN : Move to the next week. ENTER : Select the focused date. CTRL / COMMAND + END :...
Read more >DatePicker, UI Controls Webix Docs
The Datepicker widget provides the possibility to select multiple dates in a calendar at once. To enable this feature, set the multiselect property...
Read more >Options — bootstrap-datepicker documentation - Read the Docs
Days of the week that should be highlighted. Values are 0 (Sunday) to 6 (Saturday). Multiple values should be comma-separated. Example: highlight weekends:...
Read more >How to Change the Date Picker in JasperReports Server ...
This by default is "1". To change the first day to Sunday, this value will need to be changed to "0". This will...
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 FreeTop 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
Top GitHub Comments
Yes, it supports custom format
(value: moment) => string)
, you can return a string whatever you wantWill I be able to get the selected week range in below format?
MM-DD-YYYY - MM-DD-YYYY ( Start date to end date)