urlinfo:imdb: add thousand separator to rating count display
This commit is contained in:
parent
a8785ef961
commit
a96704e1fa
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ async def handle(message: Message, url, info):
|
||||||
if ex.duration_s:
|
if ex.duration_s:
|
||||||
details.append(f"⏱ {pretty_duration(ex.duration_s)}")
|
details.append(f"⏱ {pretty_duration(ex.duration_s)}")
|
||||||
if ex.rating_count:
|
if ex.rating_count:
|
||||||
details.append(f"⭐️ {ex.rating_value:_.01f} ⁄ 10 (👤 {ex.rating_count})")
|
details.append(f"⭐️ {ex.rating_value:_.01f} ⁄ 10 (👤 {ex.rating_count:_})")
|
||||||
details.append(f"🏷 {' ∕ '.join(ex.genres[:3])}")
|
details.append(f"🏷 {' ∕ '.join(ex.genres[:3])}")
|
||||||
lines = [
|
lines = [
|
||||||
f"<b>{ex.title}</b> (<b>{ex.published:%Y}</b>)",
|
f"<b>{ex.title}</b> (<b>{ex.published:%Y}</b>)",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue