Extract "Today" in device list item to string resource

Related to #4752
Closes #4780
// FREEBIE
This commit is contained in:
Geonu Kang
2015-12-02 16:35:07 +09:00
committed by Moxie Marlinspike
parent d0a65f86f5
commit afb21203b7
2 changed files with 2 additions and 1 deletions

View File

@@ -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;