wf4/app/utils/date.ts
webfussel 9abd595b49 add: article view
View for blog articles, with date filter
2025-07-11 13:32:59 +02:00

4 lines
No EOL
174 B
TypeScript

export const tomorrow = (date: Date) => {
date.setDate(date.getDate() + 1)
return `${date.getFullYear()}-${`${date.getMonth() + 1}`.padStart(2, '0')}-${date.getDate()}`
}