8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0f5e08 commit 135eaecCopy full SHA for 135eaec
test/relative-time.js
@@ -270,7 +270,7 @@ suite('relative-time', function () {
270
271
suite('[threshold]', function () {
272
test('switches to dates after 30 past days with default threshold', async () => {
273
- const now = new Date(Date.now() - 31 * 60 * 60 * 24 * 1000).toISOString()
+ const now = new Date(Date.now() - 32 * 60 * 60 * 24 * 1000).toISOString()
274
const time = document.createElement('relative-time')
275
time.setAttribute('lang', 'en-US')
276
time.setAttribute('datetime', now)
0 commit comments