diff options
author | mkanat%bugzilla.org <> | 2006-11-01 07:26:28 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-11-01 07:26:28 +0000 |
commit | e698452f3a2e5a04e291b880c2d823b098c0714a (patch) | |
tree | aa41e2f77f03b026e8a5c2c6ef1fd791c7a5f448 /contrib | |
parent | d8370a5af3b242cedee3db8566dbfa13d7ca59d7 (diff) | |
download | bugs-e698452f3a2e5a04e291b880c2d823b098c0714a.tar bugs-e698452f3a2e5a04e291b880c2d823b098c0714a.tar.gz bugs-e698452f3a2e5a04e291b880c2d823b098c0714a.tar.bz2 bugs-e698452f3a2e5a04e291b880c2d823b098c0714a.tar.xz bugs-e698452f3a2e5a04e291b880c2d823b098c0714a.zip |
Bug 358703: WebService functions version and timezone should follow bugzilla standard
Patch By Mads Bondo Dydensborg <mbd@dbc.dk> r=mkanat, a=myk
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/bz_webservice_demo.pl | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/contrib/bz_webservice_demo.pl b/contrib/bz_webservice_demo.pl index 4b5562a0e..7b59a7efb 100755 --- a/contrib/bz_webservice_demo.pl +++ b/contrib/bz_webservice_demo.pl @@ -14,6 +14,7 @@ # The Original Code is the Bugzilla Bug Tracking System. # # Contributor(s): Marc Schumann <wurblzap@gmail.com> +# Mads Bondo Dydensborg <mbd@dbc.dk> =head1 NAME @@ -145,7 +146,17 @@ minimum required version your application needs. $soapresult = $proxy->call('Bugzilla.version'); _die_on_fault($soapresult); -print 'Connecting to a Bugzilla of version ' . $soapresult->result() . ".\n"; +print 'Connecting to a Bugzilla of version ' . $soapresult->result()->{version} . ".\n"; + +=head2 Checking Bugzilla's timezone + +To make sure that you understand the dates and times that Bugzilla returns to you, you may want to call C<Bugzilla.timezone>. + +=cut + +$soapresult = $proxy->call('Bugzilla.timezone'); +_die_on_fault($soapresult); +print 'Bugzilla\'s timezone is ' . $soapresult->result()->{timezone} . ".\n"; =head2 Logging In and Out |