Compare commits
2 commits
51208f43b3
...
e053e01e3a
| Author | SHA1 | Date | |
|---|---|---|---|
| e053e01e3a | |||
| d7c66a7598 |
2 changed files with 3 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ function time_ago(time) {
|
|||
}
|
||||
|
||||
const years = Math.round(weeks / 52);
|
||||
return `{years}y`
|
||||
return `${years}y`
|
||||
}
|
||||
|
||||
function timeAgoTick(selector, format) {
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue