patched some bugs

Hi,

I made some patches for your extension to merge if you like:

+ patched usage of i18n for parameter parsing bug
+ patch for dates greater than 2038 (mktime limit)