<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: New time record default value not offset to user's time</title>
  <link>http://www.activecollab.com/forums/topic/2579/</link>
  <description>Recent posts on topic: New time record default value not offset to user's time</description>
  <dc:language>en-us</dc:language>
  <pubDate>Thu, 28 Aug 2008 07:07:11 UTC</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/12067/#post12067</link>
    <guid>http://www.activecollab.com/forums/post/12067/#post12067</guid>
    <title>Post #3 by mleebert</title>
    <dc:creator>mleebert</dc:creator>
    <description><![CDATA[<p>I was, thanks!</p>]]></description>
    <pubDate>Tue, 11 Mar 2008 17:38:37 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/12066/#post12066</link>
    <guid>http://www.activecollab.com/forums/post/12066/#post12066</guid>
    <title>Post #2 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>You are talking about the default value that is preset. That's correct, user timezone is not taken into account when preset value is prepared. We'll have it covered in v1.1 (already made a change in the code).</p>]]></description>
    <pubDate>Tue, 11 Mar 2008 10:30:34 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/12063/#post12063</link>
    <guid>http://www.activecollab.com/forums/post/12063/#post12063</guid>
    <title>Post #1 by mleebert</title>
    <dc:creator>mleebert</dc:creator>
    <description><![CDATA[<p>I've recently installed v1.0.6 and I was noticing while working with time records that the default date when entering in a new Time Record was not offset to the user's time.<br />
<br />
I modified line 105 in activecollab/application/modules/timetracking/controllers/TimetrackingController.class.php<br />
from: 'record_date' =&gt; new DateValue(),<br />
to:     'record_date' =&gt; new DateValue(time() + get_user_gmt_offset()),<br />
<br />
It looks to have done the trick, but I haven't had much more time to test to see if this affects anything. So use at your own risk.<br />
<br />
All the best,<br />
Matt</p>]]></description>
    <pubDate>Tue, 11 Mar 2008 06:47:41 UTC</pubDate>
  </item>
</channel>
</rss>