mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-31 19:27:00 -06:00
SEARCH-480
- Fixed the time issue
This commit is contained in:
parent
83d16928e0
commit
c93e7a45d7
@ -255,10 +255,10 @@ class Search {
|
||||
}
|
||||
|
||||
let sd = new Date().getTime() - SEARCH_PERIOD_SUBTRACTOR;
|
||||
let sd_time = MINIMUM_DATE;
|
||||
let sd_time = sd;
|
||||
if (startDate && startDate !== "") {
|
||||
sd_time = new Date(parseInt(startDate, 10)).getTime();
|
||||
if (sd_time >= sd) {
|
||||
if (sd_time < sd) {
|
||||
sd_time = sd;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user