Skip to content

Date Format Exception for Android #76

@shafiblogs

Description

@shafiblogs

While using jar file, I got an exception in android " Unknown pattern charecter 'X' "

Solution for this issue.

package name: com.ibm.watson.developer_cloud.util
class name: GsonSingleton
change string constant
String DATE_FORMAT_UTC = "yyyy-MM-dd'T'HH:mm:ss.SSSX";
like this
String DATE_FORMAT_UTC = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";

Please change one line above and deploy new jar.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions