Skip to content

DateTimeFormat wrong #3624

@macgills

Description

@macgills

Summary:

Cannot save contribution on successful upload because format is not is08601 datetime

Steps to reproduce:

Attempt to upload anything, see failure.

System logs:

W/UploadService: Exception during upload
    java.text.ParseException: Unparseable date: "2020-04-07T14:16:51Z"
        at java.text.DateFormat.parse(DateFormat.java:362)
        at fr.free.nrw.commons.upload.UploadService.lambda$uploadContribution$5$UploadService(UploadService.java:290)

Commons app version:

master.

Would you like to work on the issue?

Yes

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions