Bug 1028890

Summary: Time zone problem when extracting bug using XML RPC API
Product: [Community] Bugzilla Reporter: Yi Chun Chen <chenycbj>
Component: WebServiceAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED NOTABUG QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4CC: jmcdonal, rjoost
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-11 10:26:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Yi Chun Chen 2013-11-11 07:08:36 UTC
Hi Bugzilla Team,

When I try to extract bug from https://partner-bugzilla.redhat.com/ using the XML RPC API, I got such results:

Bug 950099:

last_change_time=2013-10-28 06:57:08
creation_time=2013-10-28 06:57:00

Bug 947788:

last_change_time=2013-11-05 12:10:33
creation_time=2013-09-01 07:02:00

But when I open the "XML" link on the webpage, I got these:

Bug 950099:

<delta_ts>2013-10-28 22:57:08 -0400</delta_ts>
<creation_ts>2013-10-28 22:57:00 -0400</creation_ts>

Bug 947788:

<delta_ts>2013-11-05 03:10:33 -0500</delta_ts>
<creation_ts>2013-09-01 23:02:00 -0400</creation_ts>

I am quite confusing about this result, why there are hours gap between the XML data and the data extracted by the Bug.get API?

Is there any bugs hidden?

Please check this, this is somewhat urgent for the Bug bridge job.

Thanks!

Comment 1 Simon Green 2013-11-11 10:26:14 UTC
(In reply to Yi Chun Chen from comment #0)
> I am quite confusing about this result, why there are hours gap between the
> XML data and the data extracted by the Bug.get API?

RPC calls return time in UTC. Pages in the web UI return the time according to your preference.

> Is there any bugs hidden?

Yes, there are plenty of bugs that you are not able to see. Bug 1 is an example.

  -- simon