<div dir="ltr"><div><div><div>Hi Alan,<br><br></div>Thanks for the suggestion.The new New Caledonia Time Zone is UTC+11:00 and for Yakutsk is UTC+10:00 .<br>Are you looking forward us to specify the place name in the Timezone column in the new entry. We are handling it in the translation. <br><br></div>Regards,<br></div>Manu Urs <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 16, 2015 at 5:41 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In the Migration script you are adding a new Timezone but I am not sure if it is supposed to be for New Caledonia or for Yakutsk in Russia:<br>
<br>
(Cut & Paste typo?)<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
//Adding new timezone (GMT+11:00) New Caledonia<br>
$sortOrderResult = $adb->pquery("SELECT sortorderid FROM vtiger_time_zone WHERE time_zone = ?", array('Asia/Yakutsk'));<br>
if ($adb->num_rows($sortOrderResult)) {<br>
$sortOrderId = $adb->query_result($sortOrderResult, 0, 'sortorderid');<br>
$adb->pquery("UPDATE vtiger_time_zone SET sortorderid = (sortorderid + 1) WHERE sortorderid > ?", array($sortOrderId));<br>
Migration_Index_View::ExecuteQuery('INSERT INTO vtiger_time_zone (time_zone, sortorderid, presence) VALUES (?, ?, ?)', array('Etc/GMT-11', ($sortOrderId + 1), 1));<br>
echo "New timezone (GMT+11:00) New Caledonia added.<br>";<br>
}<br>
</blockquote>
<br>
Also, the language is poor here:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
echo '<tr><td width="80%"><span>Your Configuration file couldnot able to edit, Please asdd it manually</span></td><td style="color:red">Unsuccess</td></tr>';<br>
</blockquote>
<br>
It should probably read:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
"Cannot write to your Configuration file. Please add it manually"<br>
</blockquote>
<br>
And "Add" what exactly? What is "it"? lol<br>
<br>
Alan<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Regards,<br></div>Manu<br></div></div>
</div>