From 72ce8ddb3ef34d31237f5969dbea07652bd4c5cb Mon Sep 17 00:00:00 2001 From: Koosha Khajeh Moogahi Date: Tue, 24 Jul 2012 12:00:32 -0400 Subject: Bug 520434 - Inconsistent naming of time fields (creation_time vs time) r=dkl, a=LpSolit --- Bugzilla/WebService/Bug.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Bugzilla/WebService/Bug.pm') diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index bf6a16216..82bfff445 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -297,6 +297,7 @@ sub _translate_comment { creator => $self->type('string', $comment->author->login), author => $self->type('string', $comment->author->login), time => $self->type('dateTime', $comment->creation_ts), + creation_time => $self->type('dateTime', $comment->creation_ts), is_private => $self->type('boolean', $comment->is_private), text => $self->type('string', $comment->body_full), attachment_id => $self->type('int', $attach_id), @@ -1613,6 +1614,13 @@ Bugzillas. (However, this backwards-compatibility will go away in Bugzilla C The time (in Bugzilla's timezone) that the comment was added. +=item creation_time + +C This is exactly same as the C