Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit a663e71

Browse files
committed
Fix for time rounding
1 parent 3fbc28a commit a663e71

File tree

1 file changed

+1
-1
lines changed
  • src/javascript/app_2/Stores/Modules/Trading/Helpers

1 file changed

+1
-1
lines changed

src/javascript/app_2/Stores/Modules/Trading/Helpers/end-time.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const getClosestTime = (
22
time,
33
interval,
4-
) => time.minute(Math.round(time.minute() / interval) * interval);
4+
) => time.minute((Math.ceil(time.minute() / interval) * interval));
55

66
export const getSelectedTime = (
77
server_time,

0 commit comments

Comments
 (0)