mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
Fixed minor bug in the date changer.
This commit is contained in:
parent
230e230448
commit
914e6cf52c
@ -45,7 +45,8 @@ define(['angular', 'lodash'], (angular, _) => {
|
||||
break;
|
||||
|
||||
case "day":
|
||||
newDate.setDate(date.getDate() + 1);
|
||||
// +2 because date is 0 based in JS dates but 1 based in the API
|
||||
newDate.setDate(date.getDate() + 2);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user