Add missing datetime attribute.