Skip to content

Commit

Permalink
Update copy-time-utils.ts
Browse files Browse the repository at this point in the history
fixed copyTime function
  • Loading branch information
alexeyrak authored May 4, 2023
1 parent 2e61cd9 commit a6bf9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datepicker/utils/copy-time-utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export function copyTime(sourceDate: Date, time: Date) {
if (!sourceDate || !isNaN(sourceDate.getTime())) {
if (!sourceDate || isNaN(sourceDate.getTime())) {
return;
}

Expand Down

0 comments on commit a6bf9fc

Please sign in to comment.