mirror of https://github.com/BOINC/boinc.git
Android: Java measures Unix time in milliseconds, BOINC in seconds. Multiply BOINC's timestamp for messages by 1000.
This commit is contained in:
parent
9ff0f0daeb
commit
5364d626c1
|
@ -58,7 +58,7 @@ public class MessagesListAdapter extends ArrayAdapter<Message>{
|
||||||
|
|
||||||
// Construct output
|
// Construct output
|
||||||
String project = listItem.project;
|
String project = listItem.project;
|
||||||
String date = new Date(listItem.timestamp).toString();
|
String date = new Date(listItem.timestamp*1000).toString();
|
||||||
String message = listItem.body;
|
String message = listItem.body;
|
||||||
|
|
||||||
// Instantiate layout elements
|
// Instantiate layout elements
|
||||||
|
|
Loading…
Reference in New Issue