Add List View

This commit is contained in:
2024-05-24 20:45:04 -04:00
parent 2fb236cf97
commit 9f398e5509
6 changed files with 152 additions and 13 deletions

View File

@@ -1,3 +1,4 @@
import { date } from 'quasar';
import { Boat } from 'src/stores/boat';
import {
Interval,
@@ -69,3 +70,8 @@ export function buildInterval(
};
return result;
}
export function formatDate(inputDate: string | undefined): string {
if (!inputDate) return '';
return date.formatDate(new Date(inputDate), 'ddd MMM Do hh:mm A');
}