>
> the :default lines are the most important; they set what happens when view
> code calls to_s on a DateTime or Date object. See the ruby-core docs for
> strftime for the full list of specifiers.
>
> No idea how that interacts with localization, though - anybody who's done
> it have more info?
>
That is *the right* thing to do with i18n too. The "view" tags for:
⁃ Date
⁃ Time
⁃ ActiveSupport::TimeWithZone
⁃ Numeric
⁃ boolean
use the :default format by default :-), and get correctly localized (i.e.
formatted/translated consistently with the locale).
ciao
dd
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.