feat: refactor date-and-time-picker to use custom dayjs utility and add timezone support (#15101)

This commit is contained in:
Wu Tianwei 2025-03-06 16:24:03 +08:00 • committed by GitHub
commit 5be8fbab56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 102 additions and 38 deletions

View file

@ -1,7 +1,7 @@
import React, { type FC } from 'react'
import type { CalendarItemProps } from '../types'
import cn from '@/utils/classnames'
import dayjs from 'dayjs'
import dayjs from '../utils/dayjs'
const Item: FC<CalendarItemProps> = ({
day,