mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-26 10:49:36 +00:00
Extract "Today" in device list item to string resource
Related to #4752 Closes #4780 // FREEBIE
This commit is contained in:
committed by
Moxie Marlinspike
parent
d0a65f86f5
commit
afb21203b7
@@ -87,7 +87,7 @@ public class DateUtils extends android.text.format.DateUtils {
|
||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMdd");
|
||||
|
||||
if (simpleDateFormat.format(System.currentTimeMillis()).equals(simpleDateFormat.format(timestamp))) {
|
||||
return "Today";
|
||||
return context.getString(R.string.DeviceListItem_today);
|
||||
} else {
|
||||
String format;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user