mirror of
https://github.com/langgenius/dify.git
synced 2026-02-24 20:01:22 +08:00
6 lines
163 B
TypeScript
6 lines
163 B
TypeScript
import dayjs, { type ConfigType } from 'dayjs'
|
|
|
|
export const isAfter = (date: ConfigType, compare: ConfigType) => {
|
|
return dayjs(date).isAfter(dayjs(compare))
|
|
}
|