Open ravvo opened 9 years ago
are you using doctrine?
On Wednesday, October 29, 2014, ravvo notifications@github.com wrote:
in database expire time is inserted 4 hours back. if time is 16:20:43 then there time inserted 12:03:47. please explain me how its work?
— Reply to this email directly or view it on GitHub https://github.com/bshaffer/oauth2-server-php-docs/issues/47.
Sincerely, Brent Shaffer @bshaffer http://twitter.com/bshaffer
no i am not using doctrine.
I think this is related to what I posted here https://github.com/bshaffer/oauth2-server-php-docs/issues/53
I believe it's because the dates in the database are saved without their timezone information. If you're getting expired tokens (that shouldn't have expired yet) you can try what I suggested in my post.
in database expire time is inserted 4 hours back. if time is 16:20:43 then there time inserted 12:03:47. please explain me how its work?