<?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 Custom document library view showing wrong date in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/custom-document-library-view-showing-wrong-date/m-p/83571#M25571</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a custom content model where I added an aspect. This aspect has the next property:&lt;/P&gt;&lt;PRE&gt;&amp;lt;property name="abc:myDateFrom"&amp;gt;
     &amp;lt;title&amp;gt;My Date From&amp;lt;/title&amp;gt;&lt;BR /&gt;     &amp;lt;type&amp;gt;d:date&amp;lt;/type&amp;gt;
     &amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;
     ...
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The property type is &lt;STRONG&gt;d:date&lt;/STRONG&gt;. But Alfresco stores the time part as well. From the Node Browser I can see this value being saved:&amp;nbsp;&lt;STRONG&gt;2020-05-27 0:00:00 UTC&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;I created a custom library view folllowing this tutorial&amp;nbsp;&lt;A href="https://docs.alfresco.com/5.2/concepts/share-customizing-document-library-views.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/5.2/concepts/share-customizing-document-library-views.html&lt;/A&gt;. And I added a column to show the value of&amp;nbsp;&lt;STRONG&gt;abc:myDateFrom&amp;nbsp;&lt;/STRONG&gt;but Alfresco is converting this value to the user's timezone. In my case UTC-6. Given the result of&amp;nbsp;&lt;STRONG&gt;2020-05-26 18:00:00 UTC.&amp;nbsp;&lt;/STRONG&gt;And therefore the date being displayed in the layout/custom view is 2020-05-26, which is wrong.&lt;/P&gt;&lt;P&gt;How can I tell Alfresco not to convert this value and just use the Date part of it?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2020 15:04:08 GMT</pubDate>
    <dc:creator>ebrenessdev</dc:creator>
    <dc:date>2020-06-04T15:04:08Z</dc:date>
    <item>
      <title>Custom document library view showing wrong date</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-document-library-view-showing-wrong-date/m-p/83571#M25571</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a custom content model where I added an aspect. This aspect has the next property:&lt;/P&gt;&lt;PRE&gt;&amp;lt;property name="abc:myDateFrom"&amp;gt;
     &amp;lt;title&amp;gt;My Date From&amp;lt;/title&amp;gt;&lt;BR /&gt;     &amp;lt;type&amp;gt;d:date&amp;lt;/type&amp;gt;
     &amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;
     ...
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The property type is &lt;STRONG&gt;d:date&lt;/STRONG&gt;. But Alfresco stores the time part as well. From the Node Browser I can see this value being saved:&amp;nbsp;&lt;STRONG&gt;2020-05-27 0:00:00 UTC&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;I created a custom library view folllowing this tutorial&amp;nbsp;&lt;A href="https://docs.alfresco.com/5.2/concepts/share-customizing-document-library-views.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/5.2/concepts/share-customizing-document-library-views.html&lt;/A&gt;. And I added a column to show the value of&amp;nbsp;&lt;STRONG&gt;abc:myDateFrom&amp;nbsp;&lt;/STRONG&gt;but Alfresco is converting this value to the user's timezone. In my case UTC-6. Given the result of&amp;nbsp;&lt;STRONG&gt;2020-05-26 18:00:00 UTC.&amp;nbsp;&lt;/STRONG&gt;And therefore the date being displayed in the layout/custom view is 2020-05-26, which is wrong.&lt;/P&gt;&lt;P&gt;How can I tell Alfresco not to convert this value and just use the Date part of it?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 15:04:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-document-library-view-showing-wrong-date/m-p/83571#M25571</guid>
      <dc:creator>ebrenessdev</dc:creator>
      <dc:date>2020-06-04T15:04:08Z</dc:date>
    </item>
  </channel>
</rss>

