Skip to content

Commit

Permalink
Merge pull request #63 from web3privacy/dw/bug-fixes
Browse files Browse the repository at this point in the history
fix: date string
  • Loading branch information
DomWane authored Oct 24, 2024
2 parents e0ae03b + 26d9de5 commit bdbdd38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/Project/Create/Categories/History.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ watch([day, month, year], () => {
if (!yearValue || !monthValue || !dayValue) {
return null
}
newEvent.time = new Date(yearValue, monthValue - 1, dayValue).toString()
newEvent.time = new Date(yearValue, monthValue - 1, dayValue).toISOString()
})
function formatDate(date: string) {
Expand Down
2 changes: 1 addition & 1 deletion components/Project/Create/Categories/Security.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ watch([day, month, year], () => {
if (!yearValue || !monthValue || !dayValue) {
return null
}
newAudit.time = new Date(yearValue, monthValue - 1, dayValue).toString()
newAudit.time = new Date(yearValue, monthValue - 1, dayValue).toISOString()
})
function formatDate(date: string) {
Expand Down

0 comments on commit bdbdd38

Please sign in to comment.