- reference bug 716
authortobiasKaminsky <tobias@kaminsky.me>
Thu, 13 Nov 2014 09:10:57 +0000 (10:10 +0100)
committertobiasKaminsky <tobias@kaminsky.me>
Thu, 13 Nov 2014 09:10:57 +0000 (10:10 +0100)
src/com/owncloud/android/utils/DisplayUtils.java

index 544a923..d8bf88f 100644 (file)
@@ -289,7 +289,7 @@ public class DisplayUtils {
         else if ((System.currentTimeMillis() - time) < 60 * 1000) {\r
             return c.getString(R.string.file_list_seconds_ago);\r
         } else {\r
         else if ((System.currentTimeMillis() - time) < 60 * 1000) {\r
             return c.getString(R.string.file_list_seconds_ago);\r
         } else {\r
-            // Workaround 2.x bug\r
+            // Workaround 2.x bug (see https://github.com/owncloud/android/issues/716)\r
             if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.HONEYCOMB && (System.currentTimeMillis() - time) > 24 * 60 * 60 * 1000){\r
                 Date date = new Date(time);\r
                 date.setHours(0);\r
             if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.HONEYCOMB && (System.currentTimeMillis() - time) > 24 * 60 * 60 * 1000){\r
                 Date date = new Date(time);\r
                 date.setHours(0);\r