Element UI version
2.14.1
OS/Browsers version
Google chrome Version 87.0.4280.88 (Official Build) (64-bit)
Vue version
2.6.12
Reproduction Link
https://codepen.io/pen/?&prefill_data_id=1d3c4f76-d95e-4e86-a7eb-e5042dc3de92
Steps to reproduce
- component->timePicker
- use Arbitrary time range
- value-format: "HH:mm"
- initialize the binding value with an Array: [new Date(), new Date()].
What is Expected?
fix it.
What is actually happening?
Time picker format issue, there's an issue when i use Arbitrary time range, value-format is "HH:mm", and i bind default value for the component which is an array like [new Date(), new Date()], and i log the array out put is like: 23:59:00 GMT 0805 (China Standard Time)
3条答案
按热度按时间sxpgvts31#
PR is welcomed.
gblwokeq2#
fixing
q8l4jmvw3#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.