Bug fix for DateUtils not working as documented

This commit is contained in:
dhk2 2020-07-03 21:58:56 -07:00
parent d11d19e164
commit 7790ca4592

View File

@ -30,7 +30,7 @@ public class MetaDataHelper {
public static String getMetaString(Date getCreatedAt, Integer viewCount, Context context) {
return (DateUtils.getRelativeTimeSpanString(context,getCreatedAt.getTime(),false).toString() +
context.getResources().getString(R.string.meta_data_seperator) +
viewCount + context.getResources().getString(R.string.meta_data_views);
viewCount + context.getResources().getString(R.string.meta_data_views));
}
public static String getOwnerString(String accountName, String serverHost, Context context) {