Open michalbundyra opened 4 years ago
My suggestion is to use native SQL function, instead of counting by PHP - which is much more simple imo.
Originally posted by @Ivan-Prism at https://github.com/zfcampus/zf-apigility/issues/141#issuecomment-149638445
Actually function strtotime is always returning time in UTC, because there isn't timezone defined. This make sense, but it's causing troubles with expiration in different timezones (GMT+X).
Question is , how to deal with it. I can set expiration time in config, but it took me long time to find the root cause of this.
Originally posted by @Ivan-Prism at https://github.com/zfcampus/zf-apigility/issues/141