Support setting time through datetime attribute