race
August 13, 2019, 12:10pm
1
Good day
I have a template and the template has such code
{$Transaction->CreatedAsString}: Запрос {$Ticket->id} обработан.
when I get mail from RT I see next:
Tue, Aug 13, 2019 2:45:36 PM: Запрос XXX обработан
can someone explain whether it is possible to localize the date and time?
Does $Transaction->CreatedObj->LocalizedDateTime
work?
race
August 13, 2019, 12:46pm
3
$Transaction->CreatedObj->LocalizedDateTime not worked. I see
Tue, Aug 13, 2019 12:45:05 PM: Запрос XXX обработан
But timezone has changed to GMT now. (with $Transaction->CreatedAsString was +3)
$Transaction->CreatedObj->DateTime(Timezone => 'user')
race
August 13, 2019, 12:56pm
5
the problem was solved by setting the language for the user RT-System.
But very strange - in the settings the language was specified as “- (Russian)”… the problem was solved after setting the value “Russian” forcibly