mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
remove luxon dependency in web
This commit is contained in:
parent
5eff1c05bf
commit
b36e8a78d7
1 changed files with 4 additions and 1 deletions
|
|
@ -24,7 +24,10 @@ type LibraryFilter =
|
|||
| 'type:highlights'
|
||||
| `saved:${string}`
|
||||
|
||||
const recentlySavedStartDate = DateTime.now().minus({ days: 7 }).toISODate()
|
||||
// get last week's date
|
||||
const recentlySavedStartDate = new Date(
|
||||
new Date().getTime() - 7 * 24 * 60 * 60 * 1000
|
||||
).toLocaleDateString('en-US')
|
||||
|
||||
const FOCUSED_BOXSHADOW = '0px 0px 2px 2px rgba(255, 234, 159, 0.56)'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue