1
0
Fork 0

[DEV-5333] Use the correct function for day calculations

master
Austin Schaffer 2019-06-12 11:27:00 -04:00 committed by Chase Gregory
parent 723a7f7ff7
commit 23889cbfca
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ exports.relativeDate = function( data, value )
// days
case 'd':
date_new.setDay( date_new.getDay() + +tval );
date_new.setDate( date_new.getUTCDate() + +tval );
break;
// seconds