Fix a bug on translate the value of date picker