[rt-users] Change template resolved for send more information to user

Kevin Falcone falcone at bestpractical.com
Thu Jun 13 12:10:38 EDT 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130613/03604266/attachment.sig>


More information about the rt-users mailing list