mirror of
https://github.com/web3privacy/web
synced 2024-10-15 18:26:27 +02:00
events: fix multi-date events
This commit is contained in:
parent
09bf3e4b28
commit
3a9ebe6816
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ function ccRenderer (item) {
|
|||
}
|
||||
|
||||
function dateEnd(str, days) {
|
||||
return format(addDays(new Date(str), days), 'yyyy-MM-dd');
|
||||
return format(addDays(new Date(str), days-1), 'yyyy-MM-dd');
|
||||
}
|
||||
|
||||
const statuses = {
|
||||
|
|
Loading…
Reference in a new issue