Skip to content

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

@Sofushkins

Description

@Sofushkins

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions