I am using this code to get a relative time in my app:
DateUtils.getRelativeTimeSpanString(
mReferenceTime,
now,
DateUtils.MINUTE_IN_MILLIS,
DateUtils.FORMAT_ABBREV_RELATIVE
);
It is returning everything correctly, but I want to shorten the month. For example, in place of "December 21" it should instead return "Dec 21". How can I achieve this?