redsunlib/src
mikupls 5d9c320a7e
Format post and comment votes with a decimal place, like vanilla reddit does. (#324)
* Format post and comment votes with a decimal place, like vanilla reddit does.

Before this change, a vote count of 1999 was displayed as 1k, which is a pretty big gap. The displayed count also differed from what Reddit does. Now, the behaviour is consistent.

Added some tests for format_num.

* Provide more space for post scores

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
2021-11-21 04:07:45 +00:00
..
client.rs More apt error messages for Reddit outages 2021-08-11 20:49:42 -07:00
main.rs Support Deployment to Heroku (#280) 2021-09-19 19:03:01 +00:00
post.rs Collapse (sticky) bot comments by default. (#321) 2021-11-19 05:42:53 +00:00
search.rs Fix #272 2021-09-09 17:28:55 -07:00
server.rs Fix #272 2021-09-09 17:28:55 -07:00
settings.rs Update crates and optimize parameters 2021-11-14 18:51:36 -08:00
subreddit.rs Update crates and optimize parameters 2021-11-14 18:51:36 -08:00
user.rs Fix follows not being case-sensitive (#316) 2021-11-15 00:45:18 +00:00
utils.rs Format post and comment votes with a decimal place, like vanilla reddit does. (#324) 2021-11-21 04:07:45 +00:00