Refinements to date handling in booking form

This commit is contained in:
2023-11-28 21:03:39 -05:00
parent a3cdbbfbbd
commit aed0462e05
9 changed files with 274 additions and 165 deletions

View File

@@ -3,7 +3,7 @@ import { defineStore } from 'pinia';
// const boatSource = null;
export interface Boat {
id: string;
id: number;
name: string;
class?: string;
year?: number;
@@ -25,7 +25,7 @@ export interface Boat {
const getSampleData = () => [
{
id: '1',
id: 1,
name: 'ProjectX',
class: 'J/27',
year: 1981,
@@ -50,7 +50,7 @@ and rough engine performance.`,
],
},
{
id: '2',
id: 2,
name: 'Take5',
class: 'J/27',
year: 1985,
@@ -58,7 +58,7 @@ and rough engine performance.`,
iconsrc: '/src/assets/take5_avatar32.png',
},
{
id: '3',
id: 3,
name: 'WeeBeestie',
class: 'Capri 25',
year: 1989,