mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Show only last days recent tests
This commit is contained in:
@@ -24,6 +24,7 @@ import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.ui.popup.ListPopupStep;
|
||||
import com.intellij.ui.popup.list.ListPopupImpl;
|
||||
import com.intellij.util.PsiNavigateUtil;
|
||||
import com.intellij.util.Time;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.event.ActionEvent;
|
||||
@@ -35,7 +36,7 @@ public class ShowRecentTests extends AnAction {
|
||||
private static final int TEST_LIMIT = Integer.MAX_VALUE;
|
||||
|
||||
private static Date getSinceDate() {
|
||||
return new Date(0);
|
||||
return new Date(System.currentTimeMillis() - Time.DAY);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user