
The previous approach would always throw an Exception because `SimpleDateFormat.format()` expects the input to be of type `Date` or `Number`, not `String`. (cherry picked from commit 97c81fadb426d71ac99c9443ab0e89f4089046ef)
The previous approach would always throw an Exception because `SimpleDateFormat.format()` expects the input to be of type `Date` or `Number`, not `String`. (cherry picked from commit 97c81fadb426d71ac99c9443ab0e89f4089046ef)