fix: dates are hard
This commit is contained in:
parent
9332b5ab2a
commit
eccf1027b8
2 changed files with 10 additions and 4 deletions
|
@ -141,7 +141,6 @@ export default {
|
|||
// feeds
|
||||
normalizeEntries: (entries) => {
|
||||
const posts = []
|
||||
if (!entries) return posts
|
||||
entries.forEach((entry) => {
|
||||
const dateKey = Object.keys(entry).find((key) => key.includes('date'))
|
||||
const date = new Date(entry[dateKey])
|
||||
|
|
Reference in a new issue