Skip to content

Commit

Permalink
👌 perf: format datetime labels in MessageStat component #460
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulter committed Feb 13, 2025
1 parent eb1aafa commit cc70735
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ export default {
type: 'datetime',
title: {
text: '时间'
},
labels: {
formatter: function (value) {
return new Date(value).toLocaleString();
}
}
},
yaxis: {
Expand Down

0 comments on commit cc70735

Please sign in to comment.