Fix for new datetime format