We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 091eb0c commit 30b4bdfCopy full SHA for 30b4bdf
webpack/js/components.js
@@ -71,7 +71,7 @@ export const IssueCard = {
71
computed: {
72
dateCreated() {
73
const dateCreated = new Date(this.issue.createdAt * 1000)
74
- return dateCreated.toISOString().substring(0,10)
+ return dateCreated.toISOString().split("T")[0]
75
}
76
77
0 commit comments