Tips: Bugzilla DateTime Format

The ‘last_change_time’ field returns the value in dateTime.iso8601 format. The ISO 8601 format is a standard, used to cover the exchange of data and time-related data.

 

In Bugzilla, the search returns the dateTime in UTC timezone regardless of the timezone of the machine that is hosting Bugzilla.
You may need to convert your local time to UTC timezone to obtain the correct time when querying bugs in Bugzilla via a web service.
This will be helpful if you are integrating your Bugzilla instance with other applications (i.e. Salesforce).
Example of Bugzilla Response:
<member>
<name>last_change_time</name>
<value>
<dateTime.iso8601>20120426T07:43:43</dateTime.iso8601>
</value>
</member>

Get in touch today to see how WDCi can help your business.