Remove "less than", "about" prefixes?
jaimeiniesta opened this issue ยท 2 comments
jaimeiniesta commented
Hi!
I see there's an option to remove the "ago" suffix, but I don't see how to remove the prefixes for "less than", "about", etc.
In some cases I find this handy to produce shorter strings, so for example:
"less than 20 seconds ago" -> "20 seconds ago"
"less than a minute ago" -> "a minute ago"
"about 20 hours ago" -> "20 hours ago"
marcreichel commented
@jaimeiniesta Thanks for requesting this feature.
I've implemented it in version 1.4.0 ๐๐ผ Feel free to update ๐๐ผ The docs for the directive can be found here and the docs for the magic function can be found here.
jaimeiniesta commented
Wow, that was quick, thanks!