[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-users
Subject:    Re: [rt-users] =?utf-8?q?updating_ticket=27s_created_field?=
From:       Alexander Sagratyan <fm100terra () mail ! ru>
Date:       2012-06-28 6:07:51
Message-ID: 1340863671.346347050 () f204 ! mail ! ru
[Download RAW message or body]

[Attachment #2 (text/plain)]

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.


Thu, 28 Jun 2012 00:19:41 +0300 от Ruslan Zakirov <ruz@bestpractical.com>:
 
  
  
Hi,

RT::Date->ISO in UTC TZ.

On Wed, Jun 27, 2012 at 1:11 AM, Alexander Sagratyan <fm100terra@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@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.
    


[Attachment #3 (text/html)]


<HTML><BODY>Thanks Ruslan.<br><br>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.<br><br><br>Thu, 28 Jun 2012 00:19:41 \
+0300 от Ruslan Zakirov &lt;ruz@bestpractical.com&gt;:<br> <blockquote \
style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;" \
class="mailru-blockquote">  <div id=""><div class="js-helper js-readmsg-msg">
	<style type="text/css"></style>
	<div id="style_13408319900000000673" class="mr_read__body">
		<base target="_self" href="http://e.mail.ru/cgi-bin/">
		
			<div id="style_13408319900000000673_BODY">Hi,<br>
<br>
RT::Date-&gt;ISO in UTC TZ.<br>
<br>
On Wed, Jun 27, 2012 at 1:11 AM, Alexander Sagratyan &lt;<a \
href="sentmsg?compose&amp;To=fm100terra@mail.ru">fm100terra@mail.ru</a>&gt; \
wrote:<br> &gt; Some progress....I was experimenting with __Set method. &nbsp;So far \
it is able<br> &gt; to alter Created field. But cannot define what datetime format to \
feed this<br> &gt; method.<br>
&gt;<br>
&gt;<br>
&gt; Tue, 26 Jun 2012 17:34:53 -0400 от Kevin Riggle &lt;<a \
href="sentmsg?compose&amp;To=kevinr@bestpractical.com">kevinr@bestpractical.com</a>&gt;:<br>
 &gt;<br>
&gt; Excerpts from Alexander Sagratyan's message of Tue Jun 26 16:32:53 -0400<br>
&gt; 2012:<br>
&gt;&gt; Hello.<br>
&gt;&gt;<br>
&gt;&gt; I am struggling with the following problem without a success: task is to<br>
&gt;&gt; update Created and Started fields of a ticket inside a custom scrip. I \
have<br> &gt;&gt; found SetStarted method, but not SetCreated. Is it possible to \
update<br> &gt;&gt; Created field manually inside a scrip?<br>
&gt;<br>
&gt; Created is set by the RT system when the ticket is created, and can't be<br>
&gt; updated manually.<br>
&gt;<br>
&gt; - Kevin<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
-- <br>
Best regards, Ruslan.<br>
</div>
			
		
		<base target="_self" href="http://e.mail.ru/cgi-bin/">
	</div>

	
</div>







</div>
</blockquote>
<br></BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic