so, if I put:
def format_date(a_date)
> a_date.strftime("%B #{a_date.day}, %Y")
> end in one of my helpers, what do I need to include int he rhtml page?
On 22 Oct, 18:57, Robb <[email protected]> wrote:
> I put something like this in one of my helpers:
>
> def format_date(a_date)
> a_date.strftime("%B #{a_date.day}, %Y")
> end
>
> Should give you a starting point.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---