OK, so what will be the best approach to resolve my issue?<br><br><div class="gmail_quote">On Wed, Jun 9, 2010 at 11:53 AM, Kevin Falcone <span dir="ltr"><<a href="mailto:falcone@bestpractical.com">falcone@bestpractical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Wed, Jun 09, 2010 at 11:31:28AM -0400, Juan N. DLC wrote:<br>
> For correction, I'm not trying to tdo queries to my RT DB, my problem is that for some reason<br>
> between RT and MySQL is a time_zone problem. my RT GUI have the correct time/date but MySQL is<br>
> using UTC time, 4 hours ahead the real time.<br>
<br>
</div>RT stores dates in MySQL in UTC. It then converts on display.<br>
<br>
-kevin<br>
<div class="im"><br>
> On Wed, Jun 9, 2010 at 10:57 AM, Kevin Falcone <[1]<a href="mailto:falcone@bestpractical.com">falcone@bestpractical.com</a>> wrote:<br>
><br>
> On Wed, Jun 09, 2010 at 09:01:34AM -0400, Juan N. DLC wrote:<br>
> > So then, there is no way to change this? other than move my server local time 4 hours<br>
> behind<br>
> > the real time? That would affect the RT GUI too.<br>
><br>
> Juan<br>
><br>
> As James correctly stated, RT stores dates in the database in GMT and<br>
> converts them for display in the UI. If you want to pull data<br>
> directly from the DB, you will have to do your own conversion.<br>
> If you are pulling from the API or the UI and getting the wrong date<br>
> then that would be interesting.<br>
> -kevin<br>
</div><div class="im">> > On Thu, Jun 3, 2010 at 11:46 AM, James Moseley <[1][2]<a href="mailto:jmoseley@corp.xanadoo.com">jmoseley@corp.xanadoo.com</a>> wrote:<br>
> ><br>
> > I believe RT, by design, uses the UTC timestamp when storing data in the database.<br>
> ><br>
> > --<br>
> > James<br>
> ><br>
</div><div class="im">> > On Thu, Jun 3, 2010 at 10:19 AM, Juan N. DLC <[2][3]<a href="mailto:juann.dlc@gmail.com">juann.dlc@gmail.com</a>> wrote:<br>
> ><br>
> > Yes, I do have the TZ configured in my RT_SiteConfig.pm<br>
> ><br>
> > # Time Zone:<br>
> > Set($Timezone , 'America/Puerto_Rico');<br>
> ><br>
> > LIke I said, the GUI time is working fine, the problem is MySQL, when creating a ticket it<br>
> > set the Creation Time 4 hours after the real time.<br>
><br>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>
</div>> Buy a copy at [4]<a href="http://rtbook.bestpractical.com" target="_blank">http://rtbook.bestpractical.com</a><br>
><br>
> References<br>
><br>
> Visible links<br>
> 1. mailto:<a href="mailto:falcone@bestpractical.com">falcone@bestpractical.com</a><br>
> 2. mailto:<a href="mailto:jmoseley@corp.xanadoo.com">jmoseley@corp.xanadoo.com</a><br>
> 3. mailto:<a href="mailto:juann.dlc@gmail.com">juann.dlc@gmail.com</a><br>
> 4. <a href="http://rtbook.bestpractical.com/" target="_blank">http://rtbook.bestpractical.com/</a><br>
<div><div></div><div class="h5"><br>
><br>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>
> Buy a copy at <a href="http://rtbook.bestpractical.com" target="_blank">http://rtbook.bestpractical.com</a><br>
<br>
</div></div><br><br>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>
Buy a copy at <a href="http://rtbook.bestpractical.com" target="_blank">http://rtbook.bestpractical.com</a><br></blockquote></div><br>