refactor(frontend): refactor MkDateSeparatedList
This commit is contained in:
parent
4be9b25185
commit
440a4a4d8b
2 changed files with 4 additions and 11 deletions
|
|
@ -6,7 +6,7 @@
|
|||
import { computed } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
function getDateText(dateInstance: Date) {
|
||||
export function getDateText(dateInstance: Date) {
|
||||
const date = dateInstance.getDate();
|
||||
const month = dateInstance.getMonth() + 1;
|
||||
return `${month.toString()}/${date.toString()}`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue