Show the last event as a relative time with a UTC tooltip (closes #567) #568
@@ -604,7 +604,7 @@ func TestRelativeTime(t *testing.T) {
|
||||
{90000 * time.Second, "1d1h"},
|
||||
{400*24*time.Hour + 3*time.Hour, "400d3h"},
|
||||
// An event time ahead of the server clock.
|
||||
{-time.Hour, "0s"},
|
||||
{-90 * time.Second, "0s"},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
||||
Reference in New Issue
Block a user