diff --git a/webapp/package.json b/webapp/package.json index f9f9e0c..0717015 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -2,7 +2,7 @@ "name": "hgoe-sas", "private": true, "author": "Simon Giesel", - "version": "1.0.0", + "version": "1.1.0", "scripts": { "dev": "vite", "build": "vue-tsc --noEmit && vite build", @@ -17,6 +17,7 @@ "@vueuse/core": "^10.2.1", "canvas-confetti": "^1.6.0", "daisyui": "^3.2.1", + "date-fns": "^2.30.0", "pocketbase": "^0.15.3", "vue": "^3.3.4", "vue-router": "4.2.4" diff --git a/webapp/pnpm-lock.yaml b/webapp/pnpm-lock.yaml index e23ba72..014379a 100644 --- a/webapp/pnpm-lock.yaml +++ b/webapp/pnpm-lock.yaml @@ -17,6 +17,9 @@ dependencies: daisyui: specifier: ^3.2.1 version: 3.2.1 + date-fns: + specifier: ^2.30.0 + version: 2.30.0 pocketbase: specifier: ^0.15.3 version: 0.15.3 @@ -111,6 +114,13 @@ packages: dependencies: '@babel/types': 7.18.8 + /@babel/runtime@7.22.6: + resolution: {integrity: sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==} + engines: {node: '>=6.9.0'} + dependencies: + regenerator-runtime: 0.13.11 + dev: false + /@babel/types@7.18.8: resolution: {integrity: sha512-qwpdsmraq0aJ3osLJRApsc2ouSJCdnMeZwB0DhbtHAtRpZNZCdlbRnHIgcRKzdE1g0iOGg644fzjOBcdOz9cPw==} engines: {node: '>=6.9.0'} @@ -1216,6 +1226,13 @@ packages: - ts-node dev: false + /date-fns@2.30.0: + resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} + engines: {node: '>=0.11'} + dependencies: + '@babel/runtime': 7.22.6 + dev: false + /de-indent@1.0.2: resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==} dev: true @@ -2526,6 +2543,10 @@ packages: dependencies: picomatch: 2.3.1 + /regenerator-runtime@0.13.11: + resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} + dev: false + /resolve-from@4.0.0: resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} engines: {node: '>=4'} diff --git a/webapp/src/components/atoms/AtomLegacyModal.vue b/webapp/src/components/atoms/AtomLegacyModal.vue new file mode 100644 index 0000000..8b03580 --- /dev/null +++ b/webapp/src/components/atoms/AtomLegacyModal.vue @@ -0,0 +1,92 @@ + + + + + \ No newline at end of file diff --git a/webapp/src/components/molecules/MoleculeDataTable.vue b/webapp/src/components/molecules/MoleculeDataTable.vue index d5dbadb..fd1b446 100644 --- a/webapp/src/components/molecules/MoleculeDataTable.vue +++ b/webapp/src/components/molecules/MoleculeDataTable.vue @@ -30,7 +30,7 @@ {{ DateService.toShortString(entry[header.key]) }} - {{ entry[header.key] ? DateService.toString(new Date(entry[header.key])): 'N/A' }} + {{ entry[header.key] ? DateService.toString(parseISO(entry[header.key])): 'N/A' }} {{ CurrencyService.toString(entry[header.key]) }} @@ -104,6 +104,7 @@