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

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Joel 2025-07-11 15:22:07 +08:00 committed by GitHub
parent ed5a5962d2
commit ebec1cf2d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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
}