mirror of https://github.com/apache/archiva.git
[MRM-1484] set timezone
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1154110 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c019b2a575
commit
8a665bdbbd
|
@ -21,6 +21,7 @@ package org.apache.archiva.web.xmlrpc.client;
|
|||
|
||||
import java.net.URL;
|
||||
import java.util.List;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import com.atlassian.xmlrpc.ApacheBinder;
|
||||
import com.atlassian.xmlrpc.Binder;
|
||||
|
@ -54,6 +55,7 @@ public class SampleClient
|
|||
ConnectionInfo info = new ConnectionInfo();
|
||||
info.setUsername( args[1] );
|
||||
info.setPassword( args[2] );
|
||||
info.setTimeZone( TimeZone.getDefault() );
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue