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

The SimpleDateFormat in QueryBuilderImpl formats midnight as T12:00:00.000Z #62

Open
martxw opened this issue Nov 9, 2014 · 0 comments

Comments

@martxw
Copy link
Contributor

martxw commented Nov 9, 2014

In org.springframework.social.google.api.query.impl.QueryBuilderImpl the dateFormatter SimpleDateFormat is incorrect.
It specifies the hours as "hh" which is the 12 hour format, so midnight is formatted as "12".
Changing it to "HH" corrects it, so midnight appears as "T00:00:00.000Z"

martxw added a commit to martxw/spring-social-google that referenced this issue Nov 9, 2014
martxw added a commit to martxw/spring-social-google that referenced this issue Nov 30, 2014
Moved encode() up a level to QueryBuilderImpl so its available to all builders.
Fix for issue spring-social#62 - wrong time format in QueryBuilderImpl.
martxw added a commit to martxw/spring-social-google that referenced this issue Dec 1, 2014
Implemented package org.springframework.social.google.api.calendar.impl and org.springframework.social.google.api.calendar.impl, and autotests.
Also see spring-social-google-example updates.

Moved encode() up a level to QueryBuilderImpl so its available to all builders.
Fix for issue spring-social#62 - wrong time format in QueryBuilderImpl.
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

1 participant