update job mock to always use current date

This commit is contained in:
bluemoehre
2026-07-13 14:58:23 +02:00
parent 8f1f724c53
commit 86f91b0242
3 changed files with 40 additions and 7 deletions
+22
View File
@@ -0,0 +1,22 @@
const now = new Date()
export default [
{
title: 'Monitor Real-Time Stock Market Data',
progress: 65,
startTime: new Date(now.getTime() - 100000).toISOString(),
eta: new Date(now.getTime() + 100000).toISOString(),
},
{
title: 'Image Generation',
progress: 30,
startTime: new Date(now.getTime() - 55000).toISOString(),
eta: new Date(now.getTime() + 300000).toISOString(),
},
{
title: 'Process & Categorize Inbox Emails',
progress: 88,
startTime: new Date(now.getTime() - 30000).toISOString(),
eta: new Date(now.getTime() + 30000).toISOString(),
},
]