<div dir="ltr">Yeah, it was that in config.inc.php it was set as  'Europe/Brussels' instead UTC. As I saw in other topic, I reverted to UTC and now all works fine.</div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-19 23:42 GMT+02:00 Richard Hills - Technologywise <span dir="ltr"><<a href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Was your system, like ours not set to UTC as standard timezone?<br>
    <br>
    Earlier last week the vtiger team confirmed for us that we should
    never be changing the default timezone in the config to anything
    other than UTC.<br>
    <br>
    I am looking at creating a script to find and mend time/datetime
    fields etc in the system now (eww) and we will look at reverting our
    system to UTC. Would suggest you do the same and dump this code
    change as the longer we stray from the intended setup the more
    problems we will start to see.<div><div class="h5"><br>
    <br>
    <div>On 17/07/15 20:14, PlaymaN Tepes wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">hi,<br>
        <br>
        This change totally worked for me. No duplications anymore.<br>
        <br>
        Thanks Richard.</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2015-07-17 9:35 GMT+02:00 PlaymaN Tepes
          <span dir="ltr"><<a href="mailto:sshhocckk@gmail.com" target="_blank">sshhocckk@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">I will take a look into this...<br>
              <br>
              Thanks.</div>
            <div>
              <div>
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">2015-07-09 3:03 GMT+02:00
                    Richard Hills - Technologywise <span dir="ltr"><<a href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a>></span>:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div text="#000000" bgcolor="#FFFFFF"> We saw some
                        issues with this due to our system not running
                        UTC as the base timezone.<br>
                        <br>
                        Solution was to update the following line to the
                        one supplied (this worked for our specific
                        installation but I'm unsure if it is a universal
                        fix):<br>
                        <blockquote type="cite">        $timeZone = new
                          DateTimeZone('UTC');<br>
                                  $timeZone = new
                          DateTimeZone(date_default_timezone_get());<br>
                        </blockquote>
                        <br>
                        I believe the only place this was applied was in
                        the file /modules/Google/models/Calendar.php<br>
                        <br>
                        We were seeing a multitude of issues with
                        imported times coming in as the wrong timezone,
                        so it may very well be that this is not at all
                        related to your issue, however prior to this
                        change we were also (sometimes) getting
                        duplication.
                        <div>
                          <div><br>
                            <br>
                            <br>
                            <br>
                            <div>On 08/07/15 21:00, PlaymaN Tepes wrote:<br>
                            </div>
                          </div>
                        </div>
                        <blockquote type="cite">
                          <div>
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div>
                                    <div>
                                      <div>
                                        <div>Hi all,<br>
                                          <br>
                                        </div>
                                        In my Google Calendar
                                        Synchronization I'm having some
                                        duplication problems. <br>
                                        <br>
                                        I have an Event on Gmail
                                        Calendar which I syncronize with
                                        Vtiger. This is OK. The problem
                                        is If I synchronize again: since
                                        I have an event in vTiger (from
                                        last synchronization), this
                                        record goes to Google Calendar
                                        and make duplicate. (Is the same
                                        Event).<br>
                                        <br>
                                      </div>
                                      <div>Then, If I syncronize again,
                                        I will have 4 Events in Gmail,
                                        then 8, then 16...<br>
                                      </div>
                                      <div><br>
                                      </div>
                                      Anyone suffered things like this?<br>
                                      <br>
                                    </div>
                                    How should I proceed?<br>
                                    <br>
                                  </div>
                                  Thank you so much,<br>
                                </div>
                                Adrián Granado.<br>
                              </div>
                              <br>
                              <fieldset></fieldset>
                              <br>
                            </div>
                          </div>
                          <pre>_______________________________________________
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre>
                          <span><font color="#888888"> </font></span></blockquote>
                        <span><font color="#888888"> <br>
                            <pre cols="72">-- 
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
<a href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a>
<a href="http://www.technologywise.co.nz" target="_blank">www.technologywise.co.nz</a>
ph: <a href="tel:%2B64%20%280%297%20571%201060" value="+6475711060" target="_blank">+64 (0)7 571 1060</a>
fax: <a href="tel:%2B64%20%280%297%20571%201061" value="+6475711061" target="_blank">+64 (0)7 571 1061</a></pre>
                          </font></span></div>
                      <br>
                      _______________________________________________<br>
                      <a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre>
    </blockquote>
    <br>
    <pre cols="72">-- 
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
<a href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a>
<a href="http://www.technologywise.co.nz" target="_blank">www.technologywise.co.nz</a>
ph: <a href="tel:%2B64%20%280%297%20571%201060" value="+6475711060" target="_blank">+64 (0)7 571 1060</a>
fax: <a href="tel:%2B64%20%280%297%20571%201061" value="+6475711061" target="_blank">+64 (0)7 571 1061</a></pre>
  </div></div></div>

<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>