Fix for new Date::now API