This repository was archived by the owner on Mar 9, 2025. It is now read-only.
File tree 4 files changed +8
-11
lines changed
src/app/components/DateCellEdit
4 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 6
6
"author" : " Trey Wallis" ,
7
7
"authorUrl" : " https://github.com/trey-wallis" ,
8
8
"isDesktopOnly" : false ,
9
- "version" : " 3.5.1 "
9
+ "version" : " 3.5.2 "
10
10
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " obsidian-notion-like-tables" ,
3
- "version" : " 3.5.1 " ,
3
+ "version" : " 3.5.2 " ,
4
4
"description" : " Notion-like tables for Obsidian.md" ,
5
5
"main" : " main.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -27,10 +27,6 @@ export default function DateCellEdit({
27
27
selectedDate,
28
28
onDateChange,
29
29
} : Props ) {
30
- let minDate = new Date ( selectedDate ) ;
31
- minDate . setMonth ( minDate . getMonth ( ) - 6 ) ;
32
- let maxDate = new Date ( selectedDate ) ;
33
- maxDate . setMonth ( minDate . getMonth ( ) + 6 ) ;
34
30
return (
35
31
< Menu
36
32
id = { menuId }
@@ -45,11 +41,11 @@ export default function DateCellEdit({
45
41
autoFocus = { true }
46
42
selected = { selectedDate }
47
43
onChange = { onDateChange }
48
- dateFormatCalendar = { "MMM yyyy" }
49
- minDate = { minDate }
50
- maxDate = { maxDate }
51
44
dateFormat = "yyyy/MM/dd"
52
- showMonthYearDropdown
45
+ showYearDropdown
46
+ dateFormatCalendar = "MMMM"
47
+ yearDropdownItemNumber = { 15 }
48
+ scrollableYearDropdown
53
49
/>
54
50
</ Menu >
55
51
) ;
Original file line number Diff line number Diff line change 29
29
"3.3.2" : " 0.12.0" ,
30
30
"3.4.0" : " 0.12.0" ,
31
31
"3.5.0" : " 0.12.0" ,
32
- "3.5.1" : " 0.12.0"
32
+ "3.5.1" : " 0.12.0" ,
33
+ "3.5.2" : " 0.12.0"
33
34
}
You can’t perform that action at this time.
0 commit comments