How many Days, hours, minutes ago?

Is there a plugin or library that can output that information already?
How would I also translate that into a non-English language?

Is this something that’s already available in Ruby or Rails?

Sharkie L. wrote:

Is there a plugin or library that can output that information already?
How would I also translate that into a non-English language?

Is this something that’s already available in Ruby or Rails?

time_ago_in_words(from_time, include_seconds = false)

Sharkie L. schrieb:

Is there a plugin or library that can output that information already?
How would I also translate that into a non-English language?

Is this something that’s already available in Ruby or Rails?

Take a look at

http://chronic.rubyforge.org/


Jochen K.
railswerk.de, gissmoh.de, figgfrosch.de, ror-ror.de

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs