String time1= "12:45 PM"; Device1 default format ,
String time2= "12:45 p.m."; Device2 default format
These two times are same but looks different format in different devices. Testing with remi note4 (time1 format) and Samsung j7 (time2 format).
If I'm using device with default time format 'time1' then i cant convert string format 'time2' to timestamp
. Logger shows unable parse date . How to resolve this problem?
NB: Time to be converted is fetching from server as JSON string format.