[Demonstration 1]

[Buggy Method]
public static String shortRelativeElapsedFrom(Calendar then) {
    Calendar now = Calendar.getInstance();
    now.setTime(new Date());
    // Get the represented date in milliseconds
    long nowMs = now.getTimeInMillis();
    long thenMs = then.getTimeInMillis();
    // Calculate difference in milliseconds
    long diff = nowMs - thenMs;
    // Calculate difference in seconds
    long diffMinutes = diff / (60 * 1000);
    long diffHours = diff / (60 * 60 * 1000);
    long diffDays = diff / (24 * 60 * 60 * 1000);
    if (diffMinutes < 60) {
        return diffMinutes + "m";
    } else if (diffHours < 24) {
        return diffHours + "h";
    } else if (diffDays < 7) {
        return diffDays + "d";
    } else {
        SimpleDateFormat toDate = new SimpleDateFormat("MMM dd", Locale.ENGLISH);
        return toDate.format(then);
    }
}

[Buggy Hunk]
return toDate.format(then);

[Patch]
return toDate.format(then.getTime());