Top "Humanize" questions

To humanize is to make something friendlier to humans.

How to capitalize the first character of each word, or the first character of a whole string, with C#?

I could write my own algorithm to do it, but I feel there should be the equivalent to ruby's humanize …

c# string humanize
How do I convert CamelCase into human-readable names in Java?

I'd like to write a method that converts CamelCase into a human-readable name. Here's the test case: public void testSplitCamelCase() { …

java regex string pascalcasing humanize
Natural/Relative days in Python

I'd like a way to show natural times for dated items in Python. Similar to how Twitter will show a …

python datetime human-readable datetime-parsing humanize
How to properly calculate remaining time in JS using getTime() from the two dates?

I'm trying to calculate remaining time (ex: 10 years, 2 months and 10 days from today(2014/03/02) in JS using this function: var d2 = …

javascript date datetime google-apps-script humanize
How to display "x days ago" type time using Humanize in Django template?

When I do this: {% load humanize %} {{ video.pub_date|naturaltime|capfirst }} I get 2 days, 19 hours ago How can I get …

python django humanize
Humanize a string in JavaScript

How do I humanize a string? Based on the following criteria: Deletes leading underscores, if any. Replaces underscores with spaces, …

javascript string humanize
How to get human readable class name in Ruby on Rails?

I am building an application with Ruby 1.9.3 and Rails 3.0.9 I have a class like below. module CDA class Document def …

ruby-on-rails ruby ruby-on-rails-3 humanize
Django humanize outside of template?

I know I can use the humanize module to convert date/time to a friendlier format in the django templates. …

python django django-templates humanize