I'm using SimpleDateFormat
with format yyyy-MM-dd'T'HH:mm:ssZZZZZ
. The expected output is "2014-08-26T13:00:14+03:00". However, "ZZZZZ" is only supported since Android 4.3.
Here is the result:
- Above 4.3: 2014-08-26T13:00:14+03:00
- Below 4.3: 2014-08-26T13:00:14+0300
Note that the timezone section is different (03:00 vs 0300)
I have looked at this bug report: http://code.google.com/p/android/issues/detail?id=73209.
Is it possible to get same timezone format in all version like above 4.3? Any suggestions?
"yyyy-MM-dd'T'HH:mm:ssZ"
? – Individually