A forum for technical support discussion related to Fogbugz.
FNN - Recent Events looks great, and I'd definitely use it, if it showed the right times, but it doesn't currently.
It seems as thought the FNN - Recent Events plugin, shows all entries in a the time-zone of the server it is running on, instead of the timezone of the OnDemand site preferences.
I currently have an OnDemand account, and just installed the FNN plugin. Obviously the server OnDemand run on, is based in New York. My site is setup for Melbourne, Australia (Admin > Regional > Time Zone = (GMT+10:00) Canberra, Melbourne, Sydney)
Therefore, a case that was answered this afternoon at 2:00PM 22nd October, is showing up in the report as being answered 15 hours before that, at 11:00PM 21st October the preious day.
Is there a way to adjust this?
I think it's a bug that the plugin creator is aware of...
Michael H. Pryor
Thursday, October 22, 2009
Ok - thanks for letting me know.
Timezone issues do seem to be a recurring theme - that would be great to get fixed up!
I'm looking at the "My Settings > Timesheet report" as well.
Although the display times are correct on that - they are displayed as starting in the wrong timezone, and the totals are totalling as per server time, rather than admin time.
This is what I'm looking at right now (apologies in advance about formatting - I'm sure you get the idea though):
23:05 23:59 65 - xxx Gerard Laslett 0.9
00:01 00:26 55 - xxxxx Gerard Laslett 0.4 10.4
22/10/2009 11:08 11:29 66 - xxxxx Gerard Laslett 0.4
11:30 11:49 67 - xxxxx Gerard Laslett 0.3
11:56 12:30 58 - xxxxx Gerard Laslett 0.6
12:31 14:05 27 - xxxxx Gerard Laslett 1.6
14:05 14:50 66 - xxxxx Gerard Laslett 0.7
16:21 17:27 27 - xxxxx Gerard Laslett 1.1
17:27 17:35 68 - xxxxx Gerard Laslett 0.1
17:43 18:03 69 - xxxxx Gerard Laslett 0.3
18:03 19:59 27 - xxxxx Gerard Laslett 1.9
09:31 09:43 27 - xxxxx Gerard Laslett 0.2
09:43 10:32 42 - xxxxx Gerard Laslett 0.8
10:32 10:35 69 - xxxxx Gerard Laslett 0.1
10:35 11:30 66 - xxxxx Gerard Laslett 0.9 9.1
23/10/2009 13:50 14:59 66 - xxxxx Gerard Laslett 1.2
15:00 15:15 66 - xxxxx Gerard Laslett 0.3
15:15 15:15 55 - xxxxx Gerard Laslett 0.0
Is this another plugin issue, or is it just really difficult to get dates working correctly for the OnDemand offerring if you're not on New York timezone?
I haven't had a go at writing my own plugin yet - I'm sure I will when I get some time, so I guess I'll find out any timezone qwerks when I get there - but it'd be nice to have a timesheet report that respected the timezone set in admin in the meanwhile.
FYI: An update to the timezone problem in FNN was posted to the site a few weeks ago. Try downloading the latest version and let me know if you still have any issues.
Friday, October 23, 2009
Oh and to answer the question from the perspective of a plug-in developer..
"Is this another plugin issue, or is it just really difficult to get dates working correctly for the OnDemand offerring if you're not on New York timezone?"
It is really easy to handle timezone issues with the FogBugz API, but it is equally easy to forget to do. All times in the DB are stored and returned in UTC format and need to be run through a separate method to correct for the local user.
Long story short: It was my bad, not a flaw in FogBugz. However, I might suggest that the plug-in dev tutorials add this prominently since it is easy to overlook the need to do this.
Friday, October 23, 2009
Ok - thanks guys.
I've since taken a look at the API - and read the section on timezones and seen the functions for the conversions.
Fully understand - and thanks for fixing, looking into it.
Re: fixed in a later download - unfortunately I can't use, as I use OnDemand, and are therefore constrained to use the version of FNN that is provided with OnDemand. That version is 184.108.40.206, and I still see all times displayed 15 hours earlier than they should.
Just wondering how the process of updating a version of a plugin that has been submitted for use with OnDemand works... I assume it needs to be tested by FogCreek before it's released, so therefore would be a lag between the time of fixin' and the time of getin' :)
I was under the impression that the new version had been approved and posted to FBOD. I'll follow up on that.
Tuesday, October 27, 2009
This topic is archived. No further replies will be accepted.Other recent topics