[rt-users] updating ticket's created field

Ruslan Zakirov ruz at bestpractical.com
Thu Jun 28 14:16:46 EDT 2012


On Thu, Jun 28, 2012 at 9:07 AM, Alexander Sagratyan <fm100terra at mail.ru> wrote:
> Thanks Ruslan.
>
> Yes, date format and timezone is ISO UTC. As I've understood RT stores
> datetimes in ISO UTC internally and when displaying - converts
> correspondingly in local configured timezone.

Internally it stores Unix time. In DB it's ISO in UTC zone.


> Thu, 28 Jun 2012 00:19:41 +0300 от Ruslan Zakirov <ruz at bestpractical.com>:
>
> Hi,
>
> RT::Date->ISO in UTC TZ.
>
> On Wed, Jun 27, 2012 at 1:11 AM, Alexander Sagratyan <fm100terra at mail.ru>
> wrote:
>> Some progress....I was experimenting with __Set method.  So far it is able
>> to alter Created field. But cannot define what datetime format to feed
>> this
>> method.
>>
>>
>> Tue, 26 Jun 2012 17:34:53 -0400 от Kevin Riggle
>> <kevinr at bestpractical.com>:
>>
>> Excerpts from Alexander Sagratyan's message of Tue Jun 26 16:32:53 -0400
>> 2012:
>>> Hello.
>>>
>>> I am struggling with the following problem without a success: task is to
>>> update Created and Started fields of a ticket inside a custom scrip. I
>>> have
>>> found SetStarted method, but not SetCreated. Is it possible to update
>>> Created field manually inside a scrip?
>>
>> Created is set by the RT system when the ticket is created, and can't be
>> updated manually.
>>
>> - Kevin
>>
>>
>
>
>
> --
> Best regards, Ruslan.
>
>



-- 
Best regards, Ruslan.



More information about the rt-users mailing list