<?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: Day light savings issue in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154862#M109277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working with Sharat on resolving this issue and here is what I am thinking of doing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First I'll subclass CycleBusinessCalendar and override resolveDuedate. The new resolveDuedate will look for a timezone string at the end of the cron or iso string. This string will be a java timezone ID: &lt;/SPAN&gt;&lt;A href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html" rel="nofollow noopener noreferrer"&gt;http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R/2013-10-01T20:30:00/P1D DSTZONE:US/Eastern&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;0 30 20 ? * MON,TUE,WED,THU,FRI * START:2013-10-01T20:30:00 DSTZONE:US/Eastern&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now we have the start date for each in server time (UTC) and we have the timezone which will be used to calculate daylight savings. We pass the standard cron/iso string to super.resolveDuedate then adjust the time according to start and zone. Any string which does not contain these values will be calculated in the old way to maintain backwards compatibility.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Next I'll populate my own MapBusinessCalendarManager with a standard DurationBusinessCalendar and DueDateBusinessCalendar along with the new CycleBusinessCalendar subclass. This calendar manager will be used in the configuration of the process engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course I would prefer an official solution as this will break compatibility with standard Activiti. Any input would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2013 17:58:18 GMT</pubDate>
    <dc:creator>mseiden</dc:creator>
    <dc:date>2013-11-07T17:58:18Z</dc:date>
    <item>
      <title>Day light savings issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154858#M109273</link>
      <description>Hello Support,we have the issue with the daylight savings when Business process is scheduled to run.For e.g : our server is setup in the UTC time and we have scheduled a business process to run at 9:25 EST (UTC -4 )(0 25 13 ? * MON,TUE,WED,THU,FRI *) and after the the day light savings the business</description>
      <pubDate>Mon, 04 Nov 2013 22:07:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154858#M109273</guid>
      <dc:creator>sharat</dc:creator>
      <dc:date>2013-11-04T22:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Day light savings issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154859#M109274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry ** that is 9:25 EDT (Eastern Daylight savings New York/USA)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 01:57:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154859#M109274</guid>
      <dc:creator>sharat</dc:creator>
      <dc:date>2013-11-05T01:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Day light savings issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154860#M109275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good point, can you create a JIRA for this? I don't think we have a good solution for this yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 12:20:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154860#M109275</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-11-05T12:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Day light savings issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154861#M109276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Tijs for the quick response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;link for the jira bug : &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-1836" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-1836&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Earliest response is greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 15:51:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154861#M109276</guid>
      <dc:creator>sharat</dc:creator>
      <dc:date>2013-11-05T15:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Day light savings issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154862#M109277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working with Sharat on resolving this issue and here is what I am thinking of doing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First I'll subclass CycleBusinessCalendar and override resolveDuedate. The new resolveDuedate will look for a timezone string at the end of the cron or iso string. This string will be a java timezone ID: &lt;/SPAN&gt;&lt;A href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html" rel="nofollow noopener noreferrer"&gt;http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R/2013-10-01T20:30:00/P1D DSTZONE:US/Eastern&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;0 30 20 ? * MON,TUE,WED,THU,FRI * START:2013-10-01T20:30:00 DSTZONE:US/Eastern&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now we have the start date for each in server time (UTC) and we have the timezone which will be used to calculate daylight savings. We pass the standard cron/iso string to super.resolveDuedate then adjust the time according to start and zone. Any string which does not contain these values will be calculated in the old way to maintain backwards compatibility.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Next I'll populate my own MapBusinessCalendarManager with a standard DurationBusinessCalendar and DueDateBusinessCalendar along with the new CycleBusinessCalendar subclass. This calendar manager will be used in the configuration of the process engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course I would prefer an official solution as this will break compatibility with standard Activiti. Any input would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 17:58:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154862#M109277</guid>
      <dc:creator>mseiden</dc:creator>
      <dc:date>2013-11-07T17:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Day light savings issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154863#M109278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mark,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That looks like a decent solution to be included in Activiti. Could you create a pull request for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So changing the CycleBusinessCalendar class to support timezones.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2013 09:11:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154863#M109278</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-11-13T09:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Day light savings issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154864#M109279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Pull request submitted:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/pull/231/files" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/pull/231/files&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 14:16:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154864#M109279</guid>
      <dc:creator>mseiden</dc:creator>
      <dc:date>2014-03-13T14:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Day light savings issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154865#M109280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a plan to include this in the next release?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 16:29:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154865#M109280</guid>
      <dc:creator>aseem</dc:creator>
      <dc:date>2014-10-30T16:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Day light savings issue</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154866#M109281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, I just realized that it was a part of 5.15 release, although the JIRA still says its Unresolved, so got confused.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 17:32:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/day-light-savings-issue/m-p/154866#M109281</guid>
      <dc:creator>aseem</dc:creator>
      <dc:date>2014-10-30T17:32:45Z</dc:date>
    </item>
  </channel>
</rss>

