You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to be a change in the implementation of the underlying DateUtils method in Android. If you see the screenshot I posted in the README, it shows 15 mins ago (I don't remember what API version this was). The same example when I run on API 25 emulator shows 15 min. ago.
I'm guessing Android changed the implementation of DateUtils to add the . after abbreviated words like min and hrs when the flag FORMAT_ABBREV_RELATIVE is used.
If I remove the flag from here, and set it to 0, then I see 15 minutes ago, 3 hours ago etc.
Unfortunately, it is not easy to override the implementation of DateUtils class. I will consider exposing the flags so you can control whether you want to see the abbreviation or not.
For now I don't have any work-around for you, other than to search for hrs. and remove the . manually but this is error-prone.
When text is displaying it is showing 21 hrs. ago instead of 21 hrs ago. Is there a way to get rid of " . "
The text was updated successfully, but these errors were encountered: