Bug fix for DateUtils not working as documented
This commit is contained in:
parent
d11d19e164
commit
7790ca4592
@ -30,7 +30,7 @@ public class MetaDataHelper {
|
|||||||
public static String getMetaString(Date getCreatedAt, Integer viewCount, Context context) {
|
public static String getMetaString(Date getCreatedAt, Integer viewCount, Context context) {
|
||||||
return (DateUtils.getRelativeTimeSpanString(context,getCreatedAt.getTime(),false).toString() +
|
return (DateUtils.getRelativeTimeSpanString(context,getCreatedAt.getTime(),false).toString() +
|
||||||
context.getResources().getString(R.string.meta_data_seperator) +
|
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) {
|
public static String getOwnerString(String accountName, String serverHost, Context context) {
|
||||||
|
Loading…
Reference in New Issue
Block a user