readingtime
readingtime copied to clipboard
Pluralize based on time
Wanted to implement this in https://github.com/garethrees/readingtime/pull/2 but I had some problems (due to my awful ruby) so left it out. Would be useful to run the results through a pluralize method though to minute(s) and second(s) is displayed accurately.
Am using this for my blog, and the it's extremely unlikely that a post will be less than 1 minute so not urgent, but would be nice to have :)
This comes for free in ActiveSupport. Might be a way to include some of its functionality without having a massive dependency.