Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniDigger committed Aug 16, 2024
1 parent 2058990 commit 445d470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/composables/useTime.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Composer } from "vue-i18n";

export function lastUpdated(date: Date | string, i18n?: Composer): string {
if (!i18n) i18n = useI18n();
i18n = i18n ?? useI18n();
date = new Date(date);
const today: Date = new Date();
const todayTime = today.getTime();
Expand Down

0 comments on commit 445d470

Please sign in to comment.