Fix Duration.java (#5241)

This commit is contained in:
Ax1an 2020-08-05 21:59:28 +08:00 committed by GitHub
parent 6c487ddd16
commit 567c6b59f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public class Duration {
}
public long getEndTimestamp() {
return DurationUtils.INSTANCE.startTimeToTimestamp(step, end);
return DurationUtils.INSTANCE.endTimeToTimestamp(step, end);
}
public long getStartTimeBucketInSec() {