mirror of
https://github.com/langgenius/dify.git
synced 2026-04-27 11:06:46 +08:00
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:
parent
ed5a5962d2
commit
ebec1cf2d8
@ -23,7 +23,7 @@ export const convertLocalSecondsToUTCDaySeconds = (secondsInDay: number, localTi
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const dayjsToTimeOfDay = (date?: Dayjs): number => {
|
export const dayjsToTimeOfDay = (date?: Dayjs): number => {
|
||||||
if(!date) return 0
|
if (!date) return 0
|
||||||
return date.hour() * 3600 + date.minute() * 60
|
return date.hour() * 3600 + date.minute() * 60
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user