Fixed "CRITICAL: can't compare offset-naive and offset-aware datetimes" bug

This is similar to another issue in a different plugin:
https://github.com/getpelican/pelican-plugins/issues/264