<?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: TimeZone used by activiti? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140662#M98516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know I am reviving an old thread, but I do think there is an issue in the Oracle implementation.&amp;nbsp; I have 2 workflow servers, one set to Central Standard Time (Americas/Central) and one set to UTC (Universal).&amp;nbsp; I changed the Oracle ACT_HI_PROCINST table to be TIMESTAMP WITH TIME ZONE instead of just TIMESTAMP.&amp;nbsp; End_Time_ always displays the correct time, but the start time is always local time regardless of the timestamp (e.g., if it is 4pm CST/10pm UTC time, then the servers show the correct time, but 4pm CST/4pm UTC is logged as the START_TIME_, and 4pm CST/10pm UTC is logged as the END_TIME_.&amp;nbsp; If I keep the columns as just TIMESTAMP, then it ends up logging everything in local time, so I'll have instances that start at 10pm (on UTC server) and end at 4pm (CST server) and have a -6 hour duration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Dec 2013 15:12:08 GMT</pubDate>
    <dc:creator>brianok</dc:creator>
    <dc:date>2013-12-12T15:12:08Z</dc:date>
    <item>
      <title>TimeZone used by activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140658#M98512</link>
      <description>Hello,usually all Java Date-Instances are defaulted to UTC. Currently im running Activiti on mylocalhost which is configured to be GMT+1. When I now start a Task and/or Process, Activiti will store the localized-datetime (GMT+1) instead of the utc-datetime into the database (and there, obviously all</description>
      <pubDate>Wed, 20 Feb 2013 10:26:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140658#M98512</guid>
      <dc:creator>dognose</dc:creator>
      <dc:date>2013-02-20T10:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: TimeZone used by activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140659#M98513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Activiti doesn't specify any timezone, but just uses the system timezone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Normally when you store it in the database, the timezone is stored (or the column is stored in UTC) … so there shouldn't be a problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 16:07:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140659#M98513</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-02-20T16:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: TimeZone used by activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140660#M98514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Activiti doesn't specify any timezone, but just uses the system timezone.&lt;BR /&gt;Normally when you store it in the database, the timezone is stored (or the column is stored in UTC) … so there shouldn't be a problem.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested this one, but this is not correct. (or im doing something wrong)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Depending on what timezone the Server is running, activiti stores the "localized" DateTime without any Information about the timezone itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, for a Server running in GMT +1, Activiti would "now" store 12:20 pm as time for "END_TIME_" of an Task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 11:21:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140660#M98514</guid>
      <dc:creator>dognose</dc:creator>
      <dc:date>2013-03-01T11:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: TimeZone used by activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140661#M98515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which database are you using, because some database can't store that information (Mysql has some caveats for example)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 18:23:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140661#M98515</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-03-01T18:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: TimeZone used by activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140662#M98516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know I am reviving an old thread, but I do think there is an issue in the Oracle implementation.&amp;nbsp; I have 2 workflow servers, one set to Central Standard Time (Americas/Central) and one set to UTC (Universal).&amp;nbsp; I changed the Oracle ACT_HI_PROCINST table to be TIMESTAMP WITH TIME ZONE instead of just TIMESTAMP.&amp;nbsp; End_Time_ always displays the correct time, but the start time is always local time regardless of the timestamp (e.g., if it is 4pm CST/10pm UTC time, then the servers show the correct time, but 4pm CST/4pm UTC is logged as the START_TIME_, and 4pm CST/10pm UTC is logged as the END_TIME_.&amp;nbsp; If I keep the columns as just TIMESTAMP, then it ends up logging everything in local time, so I'll have instances that start at 10pm (on UTC server) and end at 4pm (CST server) and have a -6 hour duration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 15:12:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140662#M98516</guid>
      <dc:creator>brianok</dc:creator>
      <dc:date>2013-12-12T15:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: TimeZone used by activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140663#M98517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;FYI – I changed the Oracle create scripts to use TIMESTAMP WITH TIME ZONE instead of TIMESTAMP and added the line of code "TimeZone.setDefault(TimeZone.getTimeZone("Universal"))" to all my Activiti engine main classes and it appears to be satisfactorily now.&amp;nbsp; Obviously, this will affect any outputting of dates unless you start a different JVM with the default Timezone unchanged to use for reporting purposes only.&amp;nbsp; I couldn't find the root cause in a quick scan of the code, so I have no idea if it is the Oracle JDBC driver, Ibatis, Activiti, or the JVM causing the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 19:20:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140663#M98517</guid>
      <dc:creator>brianok</dc:creator>
      <dc:date>2013-12-12T19:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: TimeZone used by activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140664#M98518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From how I see it, it's a JVM setting. That would make the most sense too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for posting this bit of information. It's intriguing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 10:47:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timezone-used-by-activiti/m-p/140664#M98518</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-12-17T10:47:21Z</dc:date>
    </item>
  </channel>
</rss>

