codebattle icon indicating copy to clipboard operation
codebattle copied to clipboard

Bug: When filtering tournaments for the current day, the wrong time period is displayed.

Open Sofushkins opened this issue 1 month ago • 0 comments

Summary

The time period from 5 p.m. to 4 p.m. is displayed. A day lasts from 12 a.m. to 11:59 p.m. Therefore, this type of filtering displays incorrect information, as this calendar covers two calendar days. It is not clear at all which day this schedule starts from, today or yesterday.

Image

Reproduction steps

prerequisites:
  Authorization was completed
steps:
  1. Open the website https://codebattle.hexlet.io/
  2. Click on the avatar/nickname icon in the upper right corner
  3. Click on “Tournament”
  4. Click on the “Day” button

Expected result

The table is compiled according to the time of day from 12am to 12pm and displays only the current day.

Actual result

The table displays two days. It is unclear whether the table starts from the current day or the previous day.

Browsers

Firefox

OS

Mac

Version: 4df7e60

Sofushkins avatar Nov 27 '25 13:11 Sofushkins