'Now' not working

Galen King's Avatar

Galen King

18 Apr, 2011 10:53 PM via web

Hey guys,

Has {{ 'now' | date: '%Y' }} recently stopped working or did it never work with Harmony? I'm a bit confused as I've always used this for the year in the footer and was sure it worked in Harmony.

Cheers,

Galen

  1. 2 Posted by John Nunemaker on 19 Apr, 2011 01:54 AM

    John Nunemaker's Avatar

    Looking into this now.

  2. 3 Posted by John Nunemaker on 19 Apr, 2011 02:21 AM

    John Nunemaker's Avatar

    I believe this was introduced when we overrode the default liquid date filter to work with Time zones. I have added 'now' functionality back in.

    Please try it again now. Note that Harmony caches sites, so you may want to save a piece of content or a template, which will regenerate the cache and correct the date issue.

  3. 4 Posted by Galen King on 19 Apr, 2011 03:26 AM

    Galen King's Avatar

    Ta :)

    On 19 April 2011 14:21, John Nunemaker <
    ***@tenderapp.com> wrote:

  4. John Nunemaker closed this discussion on 20 Apr, 2011 02:50 PM.

Comments are currently closed for this discussion. You can start a new one.

Recent Discussions

17 May, 2012 10:45 PM
20 Mar, 2012 05:05 PM
26 Apr, 2012 01:40 AM
07 Mar, 2012 04:42 PM