fix UTC comparison on datetime plugin