#2 new

Localizing Date, DateTime and Time

Reported by iain | August 10th, 2008 @ 12:04 AM

Instead of doing I18n.localize(time) it would be nice to alter Date(Time) to use its to_s function.

Proposed syntax:

  t = Time.now
  t.to_s(:long) # returnes localized version, if available

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Internationalization API for Ruby.

This library is used in Ruby on Rails but also suited for use in other contexts.

People watching this ticket