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
parent 6101733232
commit 5be8fbab56
7 changed files with 102 additions and 38 deletions

View File

@@ -22,18 +22,18 @@ const Header: FC<DatePickerHeaderProps> = ({
<RiArrowDownSLine className='w-4 h-4 text-text-tertiary' />
</button>
</div>
<button
onClick={onClickNextMonth}
className='p-1.5 hover:bg-state-base-hover rounded-lg'
>
<RiArrowDownSLine className='w-[18px] h-[18px] text-text-secondary' />
</button>
<button
onClick={onClickPrevMonth}
className='p-1.5 hover:bg-state-base-hover rounded-lg'
>
<RiArrowUpSLine className='w-[18px] h-[18px] text-text-secondary' />
</button>
<button
onClick={onClickNextMonth}
className='p-1.5 hover:bg-state-base-hover rounded-lg'
>
<RiArrowDownSLine className='w-[18px] h-[18px] text-text-secondary' />
</button>
</div>
)
}