diff --git a/server/src/com/cloud/api/commands/ListAlertsCmd.java b/server/src/com/cloud/api/commands/ListAlertsCmd.java index fb72fa06012..cf95167b0d7 100644 --- a/server/src/com/cloud/api/commands/ListAlertsCmd.java +++ b/server/src/com/cloud/api/commands/ListAlertsCmd.java @@ -91,7 +91,7 @@ public class ListAlertsCmd extends BaseCmd{ List> alertData = new ArrayList>(); alertData.add(new Pair(BaseCmd.Properties.TYPE.getName(), alert.getType())); alertData.add(new Pair(BaseCmd.Properties.DESCRIPTION.getName(), alert.getSubject())); - alertData.add(new Pair(BaseCmd.Properties.SENT.getName(), alert.getLastSent())); + alertData.add(new Pair(BaseCmd.Properties.SENT.getName(), getDateString(alert.getLastSent()))); aTag[i++] = alertData; }