refactor(frontend): refactor MkDateSeparatedList

This commit is contained in:
syuilo 2025-04-03 15:42:25 +09:00
parent 4be9b25185
commit 440a4a4d8b
2 changed files with 4 additions and 11 deletions

View file

@ -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()}`;