Commit 8a3bd7a0 by Kunj Gupta

UOFLMA-99: Fix - Date is not showing in Dialog of My incident page.

parent 553d5ea1
...@@ -77,7 +77,7 @@ public class MyIncidentScreen extends AppCompatActivity { ...@@ -77,7 +77,7 @@ public class MyIncidentScreen extends AppCompatActivity {
Incident incident = mIncidentList.get(position); Incident incident = mIncidentList.get(position);
String messageString = String.format(getResources().getString(R.string.incident_item_text_string), String messageString = String.format(getResources().getString(R.string.incident_item_text_string),
incident.getNumber(), incident.getOpenedAt(), incident.getShortDescription()); incident.getNumber(), Util.getDateTimeFromLong(incident.getOpenedAt()), incident.getShortDescription());
AlertDialog.Builder builder = new AlertDialog.Builder(this); AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setMessage(Html.fromHtml(messageString)) builder.setMessage(Html.fromHtml(messageString))
......
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