Skip to content

Commit

Permalink
fix(story): data table date error
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ksem committed Nov 15, 2024
1 parent 187ea87 commit ff47424
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ export default defineComponent({
data () {
const formatDate = (date: Date) => {
return date.toLocaleDateString('en-Us', {
return new Date(date).toLocaleDateString('en-Us', {
month: '2-digit',
day: '2-digit',
year: 'numeric',
Expand Down

0 comments on commit ff47424

Please sign in to comment.