Generowanie godziny

This commit is contained in:
2022-07-20 23:55:08 +02:00
parent 4a6366c04a
commit e5e755fa19
+4 -3
View File
@@ -3,13 +3,13 @@ import { defineStore } from 'pinia';
export const useStore = defineStore('store', {
state: () => {
return {
chosenOrderType: 'OrderO',
chosenOrderType: 'OrderN',
orderFooter: {
stationName: '',
checkpointName: '',
hour: '',
minutes: '',
hour: new Date().toLocaleTimeString('pl-PL', { hour: '2-digit' }),
minutes: new Date().toLocaleTimeString('pl-PL', { minute: '2-digit' }),
dispatcherName: '',
secondaryDispatcherName: '',
},
@@ -179,3 +179,4 @@ export const useStore = defineStore('store', {
},
});