<div dir="ltr">Hi,<div><br></div><div>This works fine for me. Steps followed by me</div><div><ol><li>Created a workflow to create a task in calendar on every save of sales-order with due-date same as start period (sales order).</li>
<li>My user/admin time-zone set to UTC<br></li><li>So on every save of sales-order records, it creates task in calendar with value of start date & time and due date & time same as sales-order start period with time shown in UTC</li>
<li>The value saved in database is also same (UTC).<br></li></ol><div>Please correct me, if i have missed any steps to reproduce the issue.</div></div><div><br></div><div>Regards</div><div>Uma S</div><div>Vtiger Team</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 18, 2014 at 10:29 PM, apcloic <span dir="ltr"><<a href="mailto:apcloic@gmail.com" target="_blank">apcloic@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br>
<br>
When creating an event from Sales Order via Workflow, time is incorrect as<br>
there is 1 hour added to "time start" and "time end", so it looks like a<br>
time zone issue.<br>
I've checked vTiger global setting (via config.inc), Calendar (via settings)<br>
and User account (admin), all are set to UTC.<br>
Here's the values passed :<br>
<br>
<br>
I'm using the following code to create the event :<br>
<br>
<br>
And the result is an activity event with [time_start] => 13:00:00 and<br>
[time_end] => 15:00:00<br>
<br>
However, when looking at the vtiger_activity table within the database, time<br>
start and time end are correct.<br>
<br>
Regards<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtiger-crm.2324883.n4.nabble.com/Calendar-wrong-time-displayed-when-creating-events-via-Webservice-tp9833.html" target="_blank">http://vtiger-crm.2324883.n4.nabble.com/Calendar-wrong-time-displayed-when-creating-events-via-Webservice-tp9833.html</a><br>
Sent from the vtigercrm-developers mailing list archive at Nabble.com.<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div>
</div>