Make sure midnight gets converted properly. Fixes feedbin/support#349.