mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
- reference bug 716
This commit is contained in:
parent
6e34ccb817
commit
7874dc4a9d
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ public class DisplayUtils {
|
|||
else if ((System.currentTimeMillis() - time) < 60 * 1000) {
|
||||
return c.getString(R.string.file_list_seconds_ago);
|
||||
} else {
|
||||
// Workaround 2.x bug
|
||||
// Workaround 2.x bug (see https://github.com/owncloud/android/issues/716)
|
||||
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.HONEYCOMB && (System.currentTimeMillis() - time) > 24 * 60 * 60 * 1000){
|
||||
Date date = new Date(time);
|
||||
date.setHours(0);
|
||||
|
|
Loading…
Reference in a new issue