Skip to content

Commit 5557cd4

Browse files
committed
lint format
1 parent 674528b commit 5557cd4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

apps/server/src/routes/api/edited-notes.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@ function getNotePathData(note: BNote): NotePath | undefined {
8686
}
8787
}
8888

89-
function formatDateFromKeywordAndDelta(startingDate: dayjs.Dayjs, keyword: string, delta: number): string {
89+
function formatDateFromKeywordAndDelta(
90+
startingDate: dayjs.Dayjs,
91+
keyword: string,
92+
delta: number
93+
): string {
9094
const formatMap = new Map<string, { format: string, addUnit: dayjs.UnitType }>([
9195
["today", { format: "YYYY-MM-DD", addUnit: "day" }],
9296
["month", { format: "YYYY-MM", addUnit: "month" }],

0 commit comments

Comments
 (0)