mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
Merge branch 'master' of gitlab.com:Chill-Projet/chill-bundles
This commit is contained in:
@@ -93,9 +93,8 @@ const datetimeToISO = (date) => {
|
||||
};
|
||||
|
||||
const intervalDaysToISO = (days) => {
|
||||
console.log(days);
|
||||
if (null === days) {
|
||||
return 'PD0';
|
||||
return 'P0D';
|
||||
}
|
||||
|
||||
return `P${days}D`;
|
||||
|
Reference in New Issue
Block a user