Poprawki daty

This commit is contained in:
2022-11-02 14:44:06 +01:00
parent 96020618a5
commit 28d4fc1587
2 changed files with 7 additions and 9 deletions
+3 -5
View File
@@ -27,7 +27,7 @@ export const useStore = defineStore('store', {
header: {
orderNo: '1',
trainNo: '',
date: new Date().toLocaleDateString('pl-PL', { day: '2-digit', month: 'long' }),
date: new Date().toLocaleDateString('pl-PL', { day: 'numeric', month: 'long' }),
},
orderList: [
@@ -79,7 +79,7 @@ export const useStore = defineStore('store', {
header: {
orderNo: '1',
trainNo: '',
date: new Date().toLocaleDateString('pl-PL', { day: '2-digit', month: 'long' }),
date: new Date().toLocaleDateString('pl-PL', { day: 'numeric', month: 'long' }),
},
rows: [
@@ -141,7 +141,7 @@ export const useStore = defineStore('store', {
orderNo: '1',
trainNo: '',
for: 'pociągu',
date: new Date().toLocaleDateString('pl-PL', { day: '2-digit', month: 'long' }),
date: new Date().toLocaleDateString('pl-PL', { day: 'numeric', month: 'long' }),
},
rows: [
@@ -179,8 +179,6 @@ export const useStore = defineStore('store', {
},
],
} as IOrderS,
};
},
});