TextClock text formatting issue in Android format

android.widget.TextClock format 12-hour text using 'format12Hour' does not work correctly on Android Lollipop and above.

It is set as "hh: mm: ss aa" and correctly displays on Kitkat as "12: 10: 15 PM", but in Lollipop and Marshmallow AM / PM is displayed as .m.mp3. (dots between them, and the letter is lowercase).

So please help me.

+4
source share

Source: https://habr.com/ru/post/1651532/


All Articles