On Wed, Jun 12, 2013 at 02:50:01PM -0700, jrios wrote:
>    I want  change the template resolved. because i need send more
> information when resolved tickets.  for example i want send the date started
> ticket  and date resolved tickets 
> 
>    this is new codec into the template 
>    
> Date start: {$Ticket->Started}
> 
> Date resolved : {$Ticket->Resolved}
> 
>    The RT send the e-mail is ok , but I have a problem because RT copy the
> data information in UTC format  into time base.... and my time is -4:30 UTC
> 
>     Question : How i can change the date format  into the e-mail before the
> send  

Started accesses the field in the database which is UTC.
You likely want
$Ticket->StartedObj->SomeMethod
Pick the format you want from
http://bestpractical.com/rt/docs/latest/RT/Date.html

->AsString is the easiest to use, but may not be what you want.

-kevin

Attachment: pgp5ikR5J8fwS.pgp
Description: PGP signature


-- 
RT Training in Seattle, June 19-20: http://bestpractical.com/training

Reply via email to