When the date is a random string rather than a function(Date()) then String.formatTime causes app crash. It just gives a null output on iOS and does not crash.
1. Load the below app.js
2. Test it on both iOS and Android.
Expected Result: On Android, the output should be null or should throw an exception.
Actual Result: The App crashes on Android.