mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 07:57:33 +08:00
only months can be selected in transaction calendar mode
This commit is contained in:
@@ -175,6 +175,10 @@ export function getCurrentYear(): number {
|
||||
return moment().year();
|
||||
}
|
||||
|
||||
export function getCurrentYearAndMonth(): string {
|
||||
return getYearAndMonth(moment());
|
||||
}
|
||||
|
||||
export function getCurrentDay(): number {
|
||||
return moment().date();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user