can someone please advise  here-

I am using the S3 service on the latest localstack version,and using the Amazon's S3 Java SDK to perform all the operations with Java 8 (Additional configuration info : aws-sdk-java/1.11.542 Windows_10/10.0 Java_HotSpot(TM)_64-Bit_Server_VM/25.60-b23 java/1.8.0_60 scala/2.10.5 groovy/2.4.10 vendor/Oracle_Corporation)

Although creating a new bucket seems to working as expected, retrieving the buckets via list buckets operation throws the following exception through the SDK:
```
 java.lang.IllegalArgumentException: Invalid format: "2019-12-23 05:12:26.039447" is malformed at " 05:12:26.039447"). Response Code: 200, Response Text: OK

response-

<ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01"><Owner><ID>bcaf1ffd86f41161ca5fb16fd081034f</ID><DisplayName>webfile</DisplayName></Owner><Buckets><Bucket><Name>tst-adapter-us-west-2</Name><CreationDate>2019-12-23 02:17:43.014814</CreationDate></Bucket></Buckets></ListAllMyBucketsResult>

trace-

Caused by:
        java.lang.IllegalArgumentException: Invalid format: "2019-12-23 05:12:26.039447" is malformed at " 05:12:26.039447"
            at org.joda.time.format.DateTimeParserBucket.doParseMillis(DateTimeParserBucket.java:187)
            at org.joda.time.format.DateTimeFormatter.parseMillis(DateTimeFormatter.java:826)
            at com.amazonaws.util.DateUtils.doParseISO8601Date(DateUtils.java:98)
            at com.amazonaws.util.DateUtils.parseISO8601Date(DateUtils.java:77)
            at com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser$ListAllMyBucketsHandler.doEndElement(XmlResponsesSaxParser.java:996)
            at com.amazonaws.services.s3.model.transform.AbstractHandler.endElement(AbstractHandler.java:52)
            at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2973)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
            at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
            at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
            at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
            at com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser.parseXmlInputStream(XmlResponsesSaxParser.java:152)
            ... 31 more
```
sqs_client = aws_stack.connect_to_service('sqs')
        try:
            queue_url = queue_url_for_arn(notif['Queue'])
            sqs_client.send_message(QueueUrl=queue_url, MessageBody=message)
        except Exception as e:
            LOGGER.warning('Unable to send notification for S3 bucket "%s" to SQS queue "%s": %s' %
                (bucket_name, notif['Queue'], e))
    if notif.get('Topic'):
        sns_client = aws_stack.connect_to_service('sns')
        try:
            sns_client.publish(TopicArn=notif['Topic'], Message=message, Subject='Amazon S3 Notification')
        except Exception:
            LOGGER.warning('Unable to send notification for S3 bucket "%s" to SNS topic "%s".' %
                (bucket_name, notif['Topic']))
    
    lambda_function_config = notif.get('CloudFunction') or notif.get('LambdaFunction')
    if lambda_function_config:
        
        connection_config = botocore.config.Config(read_timeout=300)
        lambda_client = aws_stack.connect_to_service('lambda', config=connection_config)
        try:
            lambda_client.invoke(FunctionName=lambda_function_config,
                                 InvocationType='Event', Payload=message)
        except Exception:
            LOGGER.warning('Unable to send notification for S3 bucket "%s" to Lambda function "%s".' %
                (bucket_name, lambda_function_config))
    if not filter(lambda x: notif.get(x), NOTIFICATION_DESTINATION_TYPES):
        LOGGER.warning('Neither of %s defined for S3 notification.' %
            '/'.join(NOTIFICATION_DESTINATION_TYPES))
def get_cors(bucket_name):