Revert "Another small datetime fix"

This reverts commit e7b212852a49035f48502a6d350f08836e9de214.