JS Humanize (Give data a human touch) (github.com)
If you are familiar with Django you are familiar with a nice set of template tags called "humanize". In essence it turns data such as "13 April 2012" into "2 days ago" or "1000000000" into "1.0 billion". JS Humanizer is a jQuery counterpart to the Django humanize template tags we wrote and thought that others might find it useful too.
24 comments
[ 2.8 ms ] story [ 77.4 ms ] threadThat pedantry aside, it seems like a decent enough chunk of code, and it's very easy to read. More libraries should be this clean.
EDIT: Actually having now looked at the code, it seems a lot of it is specifically using the phpjs library.
Don't know why this has happened to you...
I mean, I noticed that I received some downvotes for a comment I made on a particular post:
http://news.ycombinator.com/item?id=2849016
But nothing that justifies a ban. I am not a troll, let alone a recurrent one. Not to mention that the practice of hellbanning is highly unfair and misleading.
Any clue on who I should contact to clear this out?
This is terribly unfair and nonsensical.
Not that I have a lot to lose by abandoning this account, but as a matter of principle it would be nice to have it back, as it is clear that I haven't done anything that deserves such a punishment.
1) Gb should be GiB
2) it would be lovely to see some internationalisation support.