<?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: Time zone wrong in emails template in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/time-zone-wrong-in-emails-template/m-p/138022#M37021</link>
    <description>&lt;P&gt;thank you for your answer, it was helpfull.&lt;/P&gt;&lt;P&gt;i ended up inserting&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;#setting time_zone="Europe/Athens"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and then playing with the&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;.....string["***"] formats to get the result i needed.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 25 Jan 2024 09:28:45 GMT</pubDate>
    <dc:creator>chriskar</dc:creator>
    <dc:date>2024-01-25T09:28:45Z</dc:date>
    <item>
      <title>Time zone wrong in emails template</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/time-zone-wrong-in-emails-template/m-p/138020#M37019</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running&amp;nbsp;&lt;SPAN&gt;Alfresco Share v23.1.1.1 on a k3s server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have set all the date/time settings for my local +2 timezone, and shows ok on the k3s environment and inside alfresco. All the documents created and modified dates/times are correct and show local time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my issue is when my rule triggers an email send using the&amp;nbsp;notify_user_email.html.ftl&amp;nbsp; template.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in there there is this date call -&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; ${date?datetime?string.full}&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;which for some reason&amp;nbsp; prints the UCT - Coordinated Universal Time&amp;nbsp; that is 2 hours wrong.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;this wrong time is only on the emails. my documents have the correct time.&lt;/DIV&gt;&lt;DIV&gt;what to do? please advise.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Jan 2024 08:01:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/time-zone-wrong-in-emails-template/m-p/138020#M37019</guid>
      <dc:creator>chriskar</dc:creator>
      <dc:date>2024-01-24T08:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Time zone wrong in emails template</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/time-zone-wrong-in-emails-template/m-p/138021#M37020</link>
      <description>&lt;P&gt;You may try using a FreeMarker approach, as documented in:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://freemarker.apache.org/docs/ref_builtins_date.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://freemarker.apache.org/docs/ref_builtins_date.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 07:32:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/time-zone-wrong-in-emails-template/m-p/138021#M37020</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2024-01-25T07:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Time zone wrong in emails template</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/time-zone-wrong-in-emails-template/m-p/138022#M37021</link>
      <description>&lt;P&gt;thank you for your answer, it was helpfull.&lt;/P&gt;&lt;P&gt;i ended up inserting&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;#setting time_zone="Europe/Athens"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and then playing with the&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;.....string["***"] formats to get the result i needed.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Jan 2024 09:28:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/time-zone-wrong-in-emails-template/m-p/138022#M37021</guid>
      <dc:creator>chriskar</dc:creator>
      <dc:date>2024-01-25T09:28:45Z</dc:date>
    </item>
  </channel>
</rss>

