Util.java does not handle correctly the timezone
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
What steps will reproduce the problem?
1. The service is run in a non UTC timezone country
2. try to log in.
What is the expected output? What do you see instead?
I expect to be logged.
instead
"Google Apps - This service cannot be accessed because your login
credentials are not yet valid. Please log in and try again.
This service cannot be accessed because your login credentials are not yet
valid. Please log in and try again.
We are unable to process your request at this time, please try again
later."
What version of the product are you using? On what operating system?
svn/trunk/java/samlsource/src/util/Util.java r32
Please provide any additional information below.
several Calendar.getInstance() should be replaced by
Calendar.getInstance(TimeZone.getTimeZone("UTC"))
as for the DateFormat DATE_TIME_FORMAT instance.
Original issue reported on code.google.com by chatelet...@gmail.com
on 19 Nov 2008 at 4:38
Google Code Exporter commented
Thanks!
Original comment by acc%goog...@gtempaccount.com
on 19 Nov 2008 at 8:50
- Changed state: Accepted