<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress support forums Tag: gmt</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Tag: gmt</description>
<language>en</language>
<pubDate>Wed, 03 Dec 2008 00:16:39 +0000</pubDate>

<item>
<title>dangrey on "GMT Offset"</title>
<link>http://bbpress.org/forums/topic/gmt-offset#post-15928</link>
<pubDate>Fri, 02 May 2008 11:55:43 +0000</pubDate>
<dc:creator>dangrey</dc:creator>
<guid isPermaLink="false">15928@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hmmm, your fix caused a bit of breakage for me -- time zone is +1, but for some reason &#60;em&#62;two&#60;/em&#62; hours were added to the time stamp, resulting in a &#34;freshness&#34; of -1 year! (i.e., the timestamp was now in the future.&#60;/p&#62;
&#60;p&#62;Setting my time offset in General Settings to zero results in the correct time (GMT+1) being shown (server is on UTC btw), but the freshness is still -1 year lol.
&#60;/p&#62;</description>
</item>
<item>
<title>dangrey on "GMT Offset"</title>
<link>http://bbpress.org/forums/topic/gmt-offset#post-15926</link>
<pubDate>Fri, 02 May 2008 11:13:52 +0000</pubDate>
<dc:creator>dangrey</dc:creator>
<guid isPermaLink="false">15926@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#34;bb_current_time is in the functions file inside bb-includes directory. But you probably should touch that otherwise when you update bbpress, it will break again. :)&#34;&#60;/p&#62;
&#60;p&#62;Tell me about it -- I've already hacked another core file which has to be re-tweaked every upgrade... &#60;/p&#62;
&#60;p&#62;BTW isn't this a bug really?
&#60;/p&#62;</description>
</item>
<item>
<title>scooter7978 on "GMT Offset"</title>
<link>http://bbpress.org/forums/topic/gmt-offset#post-15922</link>
<pubDate>Fri, 02 May 2008 00:42:54 +0000</pubDate>
<dc:creator>scooter7978</dc:creator>
<guid isPermaLink="false">15922@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;bb_current_time is in the functions file inside bb-includes directory. But you probably should touch that otherwise when you update bbpress, it will break again. :)&#60;/p&#62;
&#60;p&#62;The SQL I used was just an interval clause...i.e. if I was going to import my current forums I would use something like:&#60;/p&#62;
&#60;p&#62;SELECT ID, Body, DateCreated - interval '9 30' hour_minute FROM current_forum_whatever&#60;/p&#62;
&#60;p&#62;This takes the date field and drops 9.5 hours off, coincidentally, my time zone.&#60;/p&#62;
&#60;p&#62;You could probably adapt this to an 'update' statement to change what's already in your database, eg:&#60;/p&#62;
&#60;p&#62;UPDATE bb_topics SET DateCreated=(SELECT DateCreated -  interval '9 30' hour_minute);&#60;/p&#62;
&#60;p&#62;I haven't tested it but it probably wouldn't be too far wrong.
&#60;/p&#62;</description>
</item>
<item>
<title>dangrey on "GMT Offset"</title>
<link>http://bbpress.org/forums/topic/gmt-offset#post-15906</link>
<pubDate>Thu, 01 May 2008 10:28:24 +0000</pubDate>
<dc:creator>dangrey</dc:creator>
<guid isPermaLink="false">15906@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Where can I find the bb_current_time function?&#60;/p&#62;
&#60;p&#62;Also could you post the SQL statement you used to fix existing date fields in the db? Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>scooter7978 on "GMT Offset"</title>
<link>http://bbpress.org/forums/topic/gmt-offset#post-15904</link>
<pubDate>Thu, 01 May 2008 05:44:55 +0000</pubDate>
<dc:creator>scooter7978</dc:creator>
<guid isPermaLink="false">15904@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;On thinking about it a bit further, I went back to my SQL posts and kludged a statement which removes 9.5 hours from the various date fields that populate the bbpress database.&#60;/p&#62;
&#60;p&#62;On restoring everything back, it's ok now.
&#60;/p&#62;</description>
</item>
<item>
<title>scooter7978 on "GMT Offset"</title>
<link>http://bbpress.org/forums/topic/gmt-offset#post-15903</link>
<pubDate>Thu, 01 May 2008 05:01:28 +0000</pubDate>
<dc:creator>scooter7978</dc:creator>
<guid isPermaLink="false">15903@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I've been playing with bbPress for a few days and noticed that when I started posting the time was set all wrong and the posts I imported were dated wrong (only ones from that day).&#60;/p&#62;
&#60;p&#62;Since I'm in South Australia (+9.5 GMT) I had set the gmt_offset option in the admin interface to 9.5 to accomodate my differences but it wouldn't set the post date/time to my timezone when posting.&#60;/p&#62;
&#60;p&#62;The only way around it was to modify the bb_current_time function and change this line:&#60;/p&#62;
&#60;p&#62;$d = gmdate('Y-m-d H:i:s');&#60;/p&#62;
&#60;p&#62;to this:&#60;/p&#62;
&#60;p&#62;$d = gmdate('Y-m-d H:i:s', time() + 3600*(bb_get_option('gmt_offset')+date(&#34;I&#34;)));&#60;/p&#62;
&#60;p&#62;So that it actually uses the GMT offset.&#60;/p&#62;
&#60;p&#62;Of course, doing this only means that current posts are displayed at the right time but previous ones are wrong because they're all set to the current time when posted and the system then adds 9.5hrs onto them when being read.&#60;/p&#62;
&#60;p&#62;I'm assuming either I've missed something in the config or the time option just isn't using the gmt_offset value from the db for anything.&#60;/p&#62;
&#60;p&#62;Can someone confirm or refute this please? I'd like to be able to change it back and do it the proper way if possible.
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "User Registration time +8 hours (GMT)?"</title>
<link>http://bbpress.org/forums/topic/user-registration-time-8-hours-gmt#post-6272</link>
<pubDate>Sun, 01 Apr 2007 14:12:27 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">6272@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Well yes, you can set it to whatever timezone you want and not that of the server, but why wouldn't you?   I guess if you have the server 10 timezones away from most of your users.   Either way, just having one time in the config.php and then the Timezone plugin will help 'all' your users around the world!   Regardless of their invidicual timezones.&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "User Registration time +8 hours (GMT)?"</title>
<link>http://bbpress.org/forums/topic/user-registration-time-8-hours-gmt#post-6255</link>
<pubDate>Sat, 31 Mar 2007 23:03:28 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">6255@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#60;em&#62;You have to put the time in your config.php that is that of the server.&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;Do you really? Or have I misunderstood this completely?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://bbpress.org/blog/2007/02/bbpress-time-functions-no-longer-insane/&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/blog/2007/02/bbpress-time-functions-no-longer-insane/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;em&#62;bbPress constrained you, the person installing bbPress, to set it’s internal timezone to match exactly that of the server it was running on.&#60;/p&#62;
&#60;p&#62;That’s ridiculous.&#60;/p&#62;
&#60;p&#62;...&#60;/p&#62;
&#60;p&#62;With bbPress 0.8, all that has changed. You can set bbPress’ timezone to anything you like completely independent of where you are and where your server is.&#60;/em&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "User Registration time +8 hours (GMT)?"</title>
<link>http://bbpress.org/forums/topic/user-registration-time-8-hours-gmt#post-6253</link>
<pubDate>Sat, 31 Mar 2007 22:29:24 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">6253@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You have to put the time in your config.php that is that of the server.    Then you would need to head over to the tab 'extend' in this forum and get the Timezone plugin for users.    That way everyone will have the correct time when viewing the forum.   It works best to have the timezone of the server in your config.php though.&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>braenz on "User Registration time +8 hours (GMT)?"</title>
<link>http://bbpress.org/forums/topic/user-registration-time-8-hours-gmt#post-6249</link>
<pubDate>Sat, 31 Mar 2007 20:19:05 +0000</pubDate>
<dc:creator>braenz</dc:creator>
<guid isPermaLink="false">6249@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm in NZ, and when I post to our forum in &#60;a href=&#34;http://monarch.org.nz,&#34; rel=&#34;nofollow&#34;&#62;http://monarch.org.nz,&#60;/a&#62; the time immediately says the freshness is &#34;12 hours&#34;. &#60;/p&#62;
&#60;p&#62;How can I change it to recognise that we're 12 hours in front of GMT?&#60;/p&#62;
&#60;p&#62;Jacqui
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "User Registration time +8 hours (GMT)?"</title>
<link>http://bbpress.org/forums/topic/user-registration-time-8-hours-gmt#post-5164</link>
<pubDate>Mon, 05 Mar 2007 18:43:57 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">5164@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I think it's probably an issue with the memberlist plugin then, more than anything else.   Maybe try contacting the plugin author:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.rayd.org/forums/topic/41&#34; rel=&#34;nofollow&#34;&#62;http://www.rayd.org/forums/topic/41&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>macwise on "User Registration time +8 hours (GMT)?"</title>
<link>http://bbpress.org/forums/topic/user-registration-time-8-hours-gmt#post-5162</link>
<pubDate>Mon, 05 Mar 2007 18:19:13 +0000</pubDate>
<dc:creator>macwise</dc:creator>
<guid isPermaLink="false">5162@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;chrishajer,&#60;/p&#62;
&#60;p&#62;Your assessment is correct on all counts.  I'm even using the same setup you're using.  (bb .80 and wp integration).  As for the GMT, I guess I was just expecting the correct time to be calculated on the memberlist page as well, since it's implemented everywhere else.  Isn't that what makes the most sense?  Maybe I'm missing something.  &#60;/p&#62;
&#60;p&#62;My problem is minor, and only arises (so far) when I'm using shell to scan through my server logs, and the time on the logs is adjusted for my timezone but the time on the memberlist page doesn't match up.  Just gotta do math, which is less favorable in my case. ;)
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "User Registration time +8 hours (GMT)?"</title>
<link>http://bbpress.org/forums/topic/user-registration-time-8-hours-gmt#post-5150</link>
<pubDate>Mon, 05 Mar 2007 08:05:58 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">5150@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I haven't looked at the code, but my guess is that since the dates are stored in the DB as GMT, and the time functions display times as &#34;time elapsed since&#34; that this is expected.  Where are you seeing the actual times displayed?  &#60;/p&#62;
&#60;p&#62;I just registered a new user.  I get &#34;Member since: March 5, 2007 (7 minutes)&#34; and &#34;user [profile] registered 7 minutes ago&#34; in the profile page and the admin page respectively. The memberlist plugin shows the time as the time on the server: 03/05/07 at 02:52:44 AM (when it was actually 1:52 AM where I am.)  In the database, it's stored as 2007-03-05 07:52:44&#60;/p&#62;
&#60;p&#62;Where are you seeing the GMT and what functions does it affect?&#60;/p&#62;
&#60;p&#62;Also, I am using .80 with WP integration (for users anyway) and not using any plugins for the user timezone or anything like that.    How about you?
&#60;/p&#62;</description>
</item>
<item>
<title>macwise on "User Registration time +8 hours (GMT)?"</title>
<link>http://bbpress.org/forums/topic/user-registration-time-8-hours-gmt#post-5148</link>
<pubDate>Mon, 05 Mar 2007 05:12:35 +0000</pubDate>
<dc:creator>macwise</dc:creator>
<guid isPermaLink="false">5148@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;any one have an idea about this?
&#60;/p&#62;</description>
</item>
<item>
<title>macwise on "User Registration time +8 hours (GMT)?"</title>
<link>http://bbpress.org/forums/topic/user-registration-time-8-hours-gmt#post-5076</link>
<pubDate>Fri, 02 Mar 2007 23:37:07 +0000</pubDate>
<dc:creator>macwise</dc:creator>
<guid isPermaLink="false">5076@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hello all,&#60;/p&#62;
&#60;p&#62;I seem to have stumbled on another oddity I can't solve...my user registration times are based on GMT, not on Pacific time as I have configured in the bbpress config.php file, as well as the wp Admin-&#38;gt;Options page.  I have added the following php script to a page to detect the server time.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;? print date(&#38;quot;F d, Y H:i:s&#38;quot;, time())?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The time returned is the correct (Pacific) time, (-8 GMT).  Any suggestions where else I can look, what else to try?
&#60;/p&#62;</description>
</item>
<item>
<title>circuit on "Time is all messed up..."</title>
<link>http://bbpress.org/forums/topic/time-is-all-messed-up#post-1517</link>
<pubDate>Sat, 18 Nov 2006 17:01:31 +0000</pubDate>
<dc:creator>circuit</dc:creator>
<guid isPermaLink="false">1517@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This isn't a great solution. For those of us who are not in the same timezone as our server, the board times are inaccurate even though the 'freshness' problem is solved. &#60;/p&#62;
&#60;p&#62;There must be a way to correct this, surely it would just be a case of adding the difference in hours back on to the time? Can anyone suggest where and how to replace this code? &#60;/p&#62;
&#60;p&#62;It will definitely make our board confusing for people if all the times are seven hours out.
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "Time is all messed up..."</title>
<link>http://bbpress.org/forums/topic/time-is-all-messed-up#post-1453</link>
<pubDate>Wed, 15 Nov 2006 15:26:46 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">1453@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Open your config.php in the bbpress root directory and change the offset.  You don't even have to reinstall anything, that's just where the forums go to get that value.  Changing that value and reuploading that file will fix the problem (same thing happened to me :) )
&#60;/p&#62;</description>
</item>
<item>
<title>mjfiszman on "Time is all messed up..."</title>
<link>http://bbpress.org/forums/topic/time-is-all-messed-up#post-1451</link>
<pubDate>Wed, 15 Nov 2006 11:52:50 +0000</pubDate>
<dc:creator>mjfiszman</dc:creator>
<guid isPermaLink="false">1451@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Same prob here. Would love a solution to this!
&#60;/p&#62;</description>
</item>
<item>
<title>mahodder on "Time is all messed up..."</title>
<link>http://bbpress.org/forums/topic/time-is-all-messed-up#post-1448</link>
<pubDate>Wed, 15 Nov 2006 07:01:52 +0000</pubDate>
<dc:creator>mahodder</dc:creator>
<guid isPermaLink="false">1448@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Same problem for me, is there anyway around this?? I get a freshness of -1 year if i put in -4 in the config file which gives me the correct post time but messes up the rest.&#60;/p&#62;
&#60;p&#62;When i put in -8 which is my servers time it works fine. Can't believe there isn't more posts on this unless i'm missing something...
&#60;/p&#62;</description>
</item>
<item>
<title>zurdognyc on "Time is all messed up..."</title>
<link>http://bbpress.org/forums/topic/time-is-all-messed-up#post-395</link>
<pubDate>Mon, 23 Oct 2006 18:54:31 +0000</pubDate>
<dc:creator>zurdognyc</dc:creator>
<guid isPermaLink="false">395@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Ok I think I figured out what was going on...   my server time (Chicago) is -5... I'm in NY (-4)    If I post an article using -5... it say 'Post Z Freshness X minutes ago' is correct... but the timestamp on the post is off by an hour.  If I change to -4... the timestamp is correct, but the freshness say -1 year until an hour goes by.  This is a bug correct?
&#60;/p&#62;</description>
</item>
<item>
<title>zurdognyc on "Time is all messed up..."</title>
<link>http://bbpress.org/forums/topic/time-is-all-messed-up#post-384</link>
<pubDate>Mon, 23 Oct 2006 17:44:45 +0000</pubDate>
<dc:creator>zurdognyc</dc:creator>
<guid isPermaLink="false">384@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I started my bbpress forgetting to set my time to -4   Several users registered and now all the timestamps are messed up.&#60;/p&#62;
&#60;p&#62;When someone creates a new topic, it shows it as 4 hours into the future, yet when someone posts a topic, it shows up as the correct time.&#60;/p&#62;
&#60;p&#62;How do I fix this?/What is causing the +4 rather than -4 (I'm sure I have it set to -4).  Also.. how do the times store in the db?  By GMT, and then bbpress subtracts 4  OR do they get stored GMT-4 ?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
