[
https://issues.apache.org/jira/browse/AMBARI-8494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Nechiporenko updated AMBARI-8494:
--------------------------------------
Attachment: AMBARI-8494.patch
> Alerts UI: Time showed for alerts should be relative to now
> -----------------------------------------------------------
>
> Key: AMBARI-8494
> URL: https://issues.apache.org/jira/browse/AMBARI-8494
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.0.0
> Reporter: Oleg Nechiporenko
> Assignee: Oleg Nechiporenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-8494.patch
>
>
> Currently all last-triggered times are shown as absolute times. We should
> change that to show time relative to now, like {{30 seconds ago}}.
> The resolution of the relative time depends on how large the gap is. If less
> than minute, we show seconds. If less than 1 hour, we show minutes+seconds.
> If less than a day, we show hours+minutes. If less than 1 week, we show days
> + hours. If less than 1 month, we show weeks + days. etc...
> Hovering on this text however, should show the absolute time.
> This should be used wherever we show last-triggered times (cluster
> alert-definitions table, definition-detail instances table,
> definition-details page, host alerts table).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)