Fixes #346 Calendar gmmktime() PHP warnings

Fixes #346