Compare commits

...

2 commits

Author SHA1 Message Date
e053e01e3a Fix formatting problem 2025-01-02 07:59:09 -08:00
d7c66a7598 Fix tests 2024-12-15 07:57:18 -08:00
2 changed files with 3 additions and 1 deletions

View file

@ -30,7 +30,7 @@ function time_ago(time) {
}
const years = Math.round(weeks / 52);
return `{years}y`
return `${years}y`
}
function timeAgoTick(selector, format) {

View file

@ -99,6 +99,7 @@ FEED = feed.Feed(
inserted_at=(REF_TIME * 1000) + index,
title=f"Entry {index}",
link=f"http://example.com/test/a{index}",
posted_at=(REF_TIME * 1000) + index,
)
for index in range(100, 0, -1)
],
@ -121,6 +122,7 @@ OTHER_FEED = feed.Feed(
inserted_at=(REF_TIME * 1000) + index,
title=f"Entry {index}",
link=f"http://example.com/other/a{index}",
posted_at=(REF_TIME * 1000) + index,
)
for index in range(100, 0, -1)
],