Update web/app/components/plugins/reference-setting-modal/auto-update-setting/utils.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/19758/head
Joel 7 months ago committed by Junyan Qin
parent 28e4561b75
commit e8ff9fbbe9
No known key found for this signature in database
GPG Key ID: 22FE3AFADC710CEB

@ -23,7 +23,7 @@ export const convertLocalSecondsToUTCDaySeconds = (secondsInDay: number, localTi
}
export const dayjsToTimeOfDay = (date?: Dayjs): number => {
if(!date) return 0
if (!date) return 0
return date.hour() * 3600 + date.minute() * 60
}

Loading…
Cancel
Save