6 Replies Latest reply on Aug 26, 2013 6:14 AM by amit.mahajan

    Using dates in soy?


      I have a pojo with a Date property.  When I pass the pojo through to the soy template I can't get the date to display properly


      For example if I output <b>{$pojo.createdDate}</b> it outputs the a number that I cannot figure what it is.

      If I output <b>{formatDate($pojo.createdDate, 'long', 'date')}</b>  I end up with an empty <b> tag


      however looking at the Jive soy templates the latter appears to be exactly how jive outputs dates.


      are there any undocumented gotchas in Jive's use of soy that I'm doing wrong?



      John v.