We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fe98de commit 7c10ad6Copy full SHA for 7c10ad6
js/probit.js
@@ -727,8 +727,7 @@ module.exports = class probit extends Exchange {
727
return this.iso8601 (previousSunday * 1000);
728
} else {
729
timestamp = parseInt (timestamp / 1000);
730
- const difference = this.integerModulo (timestamp, duration);
731
- timestamp -= difference;
+ timestamp = duration * parseInt (timestamp / duration);
732
if (after) {
733
timestamp = this.sum (timestamp, duration);
734
}
0 commit comments