Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong date format in SubversionRevision class #6

Open
yngveh opened this issue Dec 17, 2013 · 1 comment
Open

Wrong date format in SubversionRevision class #6

yngveh opened this issue Dec 17, 2013 · 1 comment
Assignees

Comments

@yngveh
Copy link

yngveh commented Dec 17, 2013

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.

@ghost ghost assigned plombard Dec 18, 2013
@plombard
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants