Fix moment format using month token MM instead of minute mm

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-07 07:17:09 +08:00
parent 3f1f8fb680
commit 4b7c08e2f9
2 changed files with 16 additions and 1 deletions

View File

@@ -181,7 +181,7 @@ export const useConformanceStore = defineStore('conformanceStore', {
c.attributes.forEach(att => {
switch (att.type) {
case 'date':
att.value = att.value !== null ? moment(att.value).format('YYYY/MM/DD HH:MM:ss') : null;
att.value = att.value !== null ? moment(att.value).format('YYYY/MM/DD HH:mm:ss') : null;
break;
case 'float':
att.value = att.value !== null ? new Decimal(att.value).toFixed(2) : null;