panhui 3 éve
szülő
commit
906b7b90fa
2 módosított fájl, 3 hozzáadás és 3 törlés
  1. 2 2
      src/components/ChatInfo.vue
  2. 1 1
      src/components/TeamInfo.vue

+ 2 - 2
src/components/ChatInfo.vue

@@ -175,8 +175,8 @@ const timeStr = computed(() => {
         nextDay: '[明天] HH:mm', // The next day ( Tomorrow at 2:30 AM )
         nextWeek: '[下周] dddd HH:mm', // The next week ( Sunday at 2:30 AM )
         lastDay: '[昨天] HH:mm', // The day before ( Yesterday at 2:30 AM )
-        lastWeek: 'ddd HH:mm', // Last week ( Last Monday at 2:30 AM )
-        sameElse: 'DD/MM/YYYY HH:mm' // Everything else ( 7/10/2011 )
+        lastWeek: 'YYYY[年]MM[月]DD[日] HH:mm', // Last week ( Last Monday at 2:30 AM )
+        sameElse: 'YYYY[年]MM[月]DD[日] HH:mm' // Everything else ( 7/10/2011 )
     });
 });
 

+ 1 - 1
src/components/TeamInfo.vue

@@ -38,7 +38,7 @@ const msg = computed(() => {
                 nextDay: '[明天] HH:mm', // The next day ( Tomorrow at 2:30 AM )
                 nextWeek: '[下周] DD HH:mm', // The next week ( Sunday at 2:30 AM )
                 lastDay: '[昨天]', // The day before ( Yesterday at 2:30 AM )
-                lastWeek: 'ddd', // Last week ( Last Monday at 2:30 AM )
+                lastWeek: 'MM[月]DD[日]', // Last week ( Last Monday at 2:30 AM )
                 sameElse: 'MM[月]DD[日]' // Everything else ( 7/10/2011 )
             })
         };