File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
uni_modules/uni-datetime-picker/components/uni-datetime-picker Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 698
698
startString = getDateTime (this .start , this .hideSecond )
699
699
}
700
700
[startDate, startTime] = startString .split (' ' )
701
- if (this .start && ! dateCompare (this .start , this .tempRange .startDate )) {
701
+ if (this .start && ! dateCompare (this .start , ` ${ this .tempRange .startDate } ${ this . tempRange . startTime } ` )) {
702
702
startDateLaterRangeStartDate = true
703
703
this .tempRange .startDate = startDate
704
704
}
705
- if (this .start && ! dateCompare (this .start , this .tempRange .endDate )) {
705
+ if (this .start && ! dateCompare (this .start , ` ${ this .tempRange .endDate } ${ this . tempRange . endTime } ` )) {
706
706
startDateLaterRangeEndDate = true
707
707
this .tempRange .endDate = startDate
708
708
}
717
717
}
718
718
[endDate, endTime] = endString .split (' ' )
719
719
720
- if (this .end && ! dateCompare (this .tempRange .startDate , this .end )) {
720
+ if (this .end && ! dateCompare (` ${ this .tempRange .startDate } ${ this . tempRange . startTime } ` , this .end )) {
721
721
endDateEarlierRangeStartDate = true
722
722
this .tempRange .startDate = endDate
723
723
}
724
- if (this .end && ! dateCompare (this .tempRange .endDate , this .end )) {
724
+ if (this .end && ! dateCompare (` ${ this .tempRange .endDate } ${ this . tempRange . endTime } ` , this .end )) {
725
725
endDateEarlierRangeEndDate = true
726
726
this .tempRange .endDate = endDate
727
727
}
You can’t perform that action at this time.
0 commit comments