On Mon, Mar 10, 2008 at 8:33 PM, Davo <[EMAIL PROTECTED]> wrote:
> I'm working through the Haml Docs and this example does not seem to
> render as I expected ?
> %p
> Date/Time:
> - now = DateTime.now
> %strong= now
> - if now > DateTime.parse(""December 31, 2006"")
> = "Happy new " + "year!"
>
> It is from this page:
You have two sets of quotes in the DateTime.parse line.
Should be:
DateTime.parse("December 31, 2006")
not
DateTime.parse(""December 31, 2006"")
Mikel
http://lindsaar.net/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---