From f73e8c19efddba98d0b68c8c5259f7548b627b3f Mon Sep 17 00:00:00 2001 From: Koosha Khajeh Moogahi Date: Tue, 24 Jul 2012 12:13:47 -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 5e55699c4..6b5d8e3ef 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -312,6 +312,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), @@ -1641,6 +1642,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