Commit 9508e0fd by Simhachalam ch

fixed date format issue

parent 90776c2c
......@@ -760,7 +760,7 @@ public class ChatActivity extends AppCompatActivity implements OnDSListener, OnD
Log.i("Print", jsonObject.toString());
mSocket.emit(NEW_MESSAGE, jsonObject);
ChatLogManager.saveLogEvent(message,"","true",new Date().toString());
ChatLogManager.saveLogEvent(message,"","true",new Date());
} else {
mInputMessageView.requestFocus();
......@@ -1024,7 +1024,7 @@ public class ChatActivity extends AppCompatActivity implements OnDSListener, OnD
}
if(!message.isEmpty()) {
ChatLogManager.saveLogEvent("",message,"true",new Date().toString());
ChatLogManager.saveLogEvent("",message,"true",new Date());
if(message.contains(Constants.RESET_PASSWORD_NAVIGATION_SCREEN)){
runOnUiThread(new Runnable() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment