Skip to content

Commit

Permalink
fix: fix wrong usage of Date
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Jun 8, 2021
1 parent 855fd25 commit 0ba2ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export const actions = {
const SAVED_POSTS = JSON.parse(JSON.stringify(getters.getSavedPosts))

const NEW_POST_DATA = {
meta_data: { booru_domain: domain, created_at: Date.now() },
meta_data: { booru_domain: domain, created_at: new Date().toJSON() },
data: post,
}

Expand Down

0 comments on commit 0ba2ef7

Please sign in to comment.