mirror of
https://github.com/usememos/memos.git
synced 2025-10-02 02:24:39 +08:00
parent
2cd524e4fa
commit
3081015692
1 changed files with 4 additions and 0 deletions
|
@ -445,6 +445,10 @@ const MemoEditor = (props: Props) => {
|
|||
selected={displayTime}
|
||||
onChange={(date) => date && setDisplayTime(date)}
|
||||
showTimeSelect
|
||||
showMonthDropdown
|
||||
showYearDropdown
|
||||
yearDropdownItemNumber={5}
|
||||
dateFormatCalendar=" "
|
||||
customInput={<span className="cursor-pointer text-sm text-gray-400 dark:text-gray-500">{displayTime.toLocaleString()}</span>}
|
||||
calendarClassName="ml-24 sm:ml-44"
|
||||
/>
|
||||
|
|
Loading…
Add table
Reference in a new issue