<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Inconsistencies in using date property in freemarker in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/inconsistencies-in-using-date-property-in-freemarker/m-p/269844#M222974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aaaaaand to answer my own question, in case somebody else bumps into this wall for two days too:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;#assign nodeR=companyhome.childByNamePath["Sites/" + site.shortName] /&amp;gt;&lt;BR /&gt;"startdate": "&amp;lt;#if nodeR.hasAspect("my:customAspect")&amp;gt;${nodeR.properties["my:customAspectDate"]?string("yyyy-MM-dd")}&amp;lt;/#if&amp;gt;",&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know why it works this way and not the other, though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2012 17:56:09 GMT</pubDate>
    <dc:creator>zladuric</dc:creator>
    <dc:date>2012-10-09T17:56:09Z</dc:date>
    <item>
      <title>Inconsistencies in using date property in freemarker</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inconsistencies-in-using-date-property-in-freemarker/m-p/269843#M222973</link>
      <description>Hello,I'm added a custom aspect to site on creation, and it holds a property of type date:&amp;lt;type&amp;gt;d:date&amp;lt;/type&amp;gt;‍Now, I'm extending the site.lib.ftl file to display this date:"startdate": "&amp;lt;#if site.node.hasAspect("my:customAspect")&amp;gt;${siteNode.properties["my:customAspectDate"]?string(</description>
      <pubDate>Tue, 09 Oct 2012 17:38:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inconsistencies-in-using-date-property-in-freemarker/m-p/269843#M222973</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2012-10-09T17:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistencies in using date property in freemarker</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inconsistencies-in-using-date-property-in-freemarker/m-p/269844#M222974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aaaaaand to answer my own question, in case somebody else bumps into this wall for two days too:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;#assign nodeR=companyhome.childByNamePath["Sites/" + site.shortName] /&amp;gt;&lt;BR /&gt;"startdate": "&amp;lt;#if nodeR.hasAspect("my:customAspect")&amp;gt;${nodeR.properties["my:customAspectDate"]?string("yyyy-MM-dd")}&amp;lt;/#if&amp;gt;",&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know why it works this way and not the other, though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 17:56:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inconsistencies-in-using-date-property-in-freemarker/m-p/269844#M222974</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2012-10-09T17:56:09Z</dc:date>
    </item>
  </channel>
</rss>

