Fixes #346 Calendar gmmktime() PHP warnings
Merge pull request #504 from Stefan-ST/fix-346

Fixes #346 Calendar gmmktime() PHP warnings