SubversionRiver icon indicating copy to clipboard operation
SubversionRiver copied to clipboard

Wrong date format in SubversionRevision class

Open yngveh opened this issue 11 years ago • 1 comments

The constant DATE_TIME_ISO8601_FORMAT in class org.elasticsearch.river.subversion.type.SubversionRevision is using a wrong date format, It should be "yyyy-MM-dd'T'HH:mm:ss.SSSZ" instead of ""yyyy-MM-dd'T'hh:mm:ss.SSSZ". This cause the timestamp of the revision sometimes to be 12 hours wrong since it is onlyusing 0-12 values for the hour field.

yngveh avatar Dec 17 '13 18:12 yngveh

Okay, thanks for the issue. I hadn't tested with 12hours format. Will be fixed in the next release.

plombard avatar Dec 18 '13 00:12 plombard