[rt-users] Date formatting

Joop jvdwege at xs4all.nl
Wed Oct 8 16:53:19 EDT 2014


On 8-10-2014 17:55, Rinke Colen wrote:
> I want to mention the ticket creation date in an auto reply. I use the
> following code snippet in my email template: {$Ticket->Created}. This
> produces the string "2014-10-08 15:31:24" (UTC) but I want to show
> "October 8, 2014 at 5:31 PM" (CET) is one place and "8 oktober 2014 om
> 17:31" in another place. (The word "oktober" in the second string is
> Dutch.) How can I format the timestamps?
> 
Have look at the following 3 links:
http://bestpractical.com/docs/rt/4.2/RT/Date.html
http://www.gossamer-threads.com/lists/rt/users/52528
http://www.gossamer-threads.com/lists/rt/users/15445

> On a procedural note: I'm not sure if this question conforms to
> requirements of this mailing list. I have searched the history of this
> list since I joined for an answer, but don't know where to find the rest
> of the history. Also I know very little about Perl. I'm slightly worried
> that my question is too "dumb". But I have many more of these newbie
> questions. Can I just ask them here? (I.e. if I don't find the answer in
> the mailing list history, the documentation on bestpractical.com
> <http://bestpractical.com> or on the the wiki.)
> 
I'll help any Dutchmen anytime :-)

Regards,

Joop






More information about the rt-users mailing list