Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
7209095d
Commit
7209095d
authored
Dec 10, 2014
by
Matt Selsky
Committed by
Gervase Markham
Dec 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1103029 - Remove the deprecated backward compatible key names in Bugzilla.time. r=gerv, a=dkl.
parent
274e2e0c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
41 deletions
+1
-41
Bugzilla.pm
Bugzilla/WebService/Bugzilla.pm
+0
-24
bugzilla.rst
docs/en/rst/api/core/v1/bugzilla.rst
+1
-17
No files found.
Bugzilla/WebService/Bugzilla.pm
View file @
7209095d
...
@@ -112,10 +112,6 @@ sub time {
...
@@ -112,10 +112,6 @@ sub time {
return
{
return
{
db_time
=>
$self
->
type
(
'dateTime'
,
$db_time
),
db_time
=>
$self
->
type
(
'dateTime'
,
$db_time
),
web_time
=>
$self
->
type
(
'dateTime'
,
$now_utc
),
web_time
=>
$self
->
type
(
'dateTime'
,
$now_utc
),
web_time_utc
=>
$self
->
type
(
'dateTime'
,
$now_utc
),
tz_name
=>
$self
->
type
(
'string'
,
'UTC'
),
tz_offset
=>
$self
->
type
(
'string'
,
'+0000'
),
tz_short_name
=>
$self
->
type
(
'string'
,
'UTC'
),
};
};
}
}
...
@@ -357,26 +353,6 @@ a different source. If it's any more different than a second, then there is
...
@@ -357,26 +353,6 @@ a different source. If it's any more different than a second, then there is
likely some problem with this Bugzilla instance. In this case you should
likely some problem with this Bugzilla instance. In this case you should
rely on the C<db_time>, not the C<web_time>.
rely on the C<db_time>, not the C<web_time>.
=item C<web_time_utc>
Identical to C<web_time>. (Exists only for backwards-compatibility with
versions of Bugzilla before 3.6.)
=item C<tz_name>
C<string> The literal string C<UTC>. (Exists only for backwards-compatibility
with versions of Bugzilla before 3.6.)
=item C<tz_short_name>
C<string> The literal string C<UTC>. (Exists only for backwards-compatibility
with versions of Bugzilla before 3.6.)
=item C<tz_offset>
C<string> The literal string C<+0000>. (Exists only for backwards-compatibility
with versions of Bugzilla before 3.6.)
=back
=back
=item B<History>
=item B<History>
...
...
docs/en/rst/api/core/v1/bugzilla.rst
View file @
7209095d
...
@@ -110,12 +110,8 @@ what timezone it's running in.
...
@@ -110,12 +110,8 @@ what timezone it's running in.
.. code-block:: js
.. code-block:: js
{
{
"web_time_utc": "2014-09-26T18:01:30Z",
"db_time": "2014-09-26T18:01:30Z",
"db_time": "2014-09-26T18:01:30Z",
"web_time": "2014-09-26T18:01:30Z",
"web_time": "2014-09-26T18:01:30Z",
"tz_offset": "+0000",
"tz_short_name": "UTC",
"tz_name": "UTC"
}
}
============= ====== ==========================================================
============= ====== ==========================================================
...
@@ -128,7 +124,7 @@ db_time string The current time in UTC, according to the Bugzilla
...
@@ -128,7 +124,7 @@ db_time string The current time in UTC, according to the Bugzilla
webserver are running in the same time zone. However,
webserver are running in the same time zone. However,
if the web server and the database server aren't
if the web server and the database server aren't
synchronized or some reason, *this* is the time that
synchronized or some reason, *this* is the time that
you should rely on or doing searches and other input
you should rely on
f
or doing searches and other input
to the WebService.
to the WebService.
web_time string This is the current time in UTC, according to
web_time string This is the current time in UTC, according to
Bugzilla's web server.
Bugzilla's web server.
...
@@ -139,18 +135,6 @@ web_time string This is the current time in UTC, according to
...
@@ -139,18 +135,6 @@ web_time string This is the current time in UTC, according to
some problem with this Bugzilla instance. In this
some problem with this Bugzilla instance. In this
case you should rely on the ``db_time``, not the
case you should rely on the ``db_time``, not the
``web_time``.
``web_time``.
web_time_utc string Identical to ``web_time``. (Exists only for
backwards-compatibility with versions of Bugzilla
before 3.6.)
tz_name string The literal string ``UTC``. (Exists only for
backwards-compatibility with versions of Bugzilla
before 3.6.)
tz_short_name string The literal string ``UTC``. (Exists only for
backwards-compatibility with versions of Bugzilla
before 3.6.)
tz_offset string The literal string ``+0000``. (Exists only for
backwards-compatibility with versions of Bugzilla
before 3.6.)
============= ====== ==========================================================
============= ====== ==========================================================
Parameters
Parameters
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment