0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-06-22 00:38:38 +00:00

going for 6 years for now

This commit is contained in:
Víctor Losada Hernández
2026-06-02 14:34:18 +02:00
parent ed6bf9f1bb
commit b65105598a
2 changed files with 4 additions and 4 deletions
@@ -89,7 +89,7 @@ const BrewCleanup = ({})=>{
return <tr key={idx}>
<td><strong>{brew.title || 'No Title'}</strong></td>
<td style={{ width: '200px' }}>{Moment(brew.updatedAt).fromNow()}</td>
<td>{brew.lastViewed ? Moment(brew.lastViewed).fromNow() : 'No creation date'}</td>
<td>{brew.lastViewed ? Moment(brew.lastViewed).fromNow() : 'No last viewed date'}</td>
<td>{brew.googleId ? 'Google' : 'Homebrewery'}</td>
</tr>;
})}
+3 -3
View File
@@ -53,12 +53,12 @@ export default function createAdminApi(vite) {
{
$match: {
authors: [],
updatedAt: { $lt: Moment().subtract(9, 'years').toDate() },
lastViewed: { $lt: Moment().subtract(9, 'years').toDate() }
updatedAt: { $lt: Moment().subtract(6, 'years').toDate() },
lastViewed: { $lt: Moment().subtract(6, 'years').toDate() }
}
},
{
$limit: 1000
$limit: 500
}
];