getsentry / getsentry/sentry

Unable to select the current UTC date in absolute date picker if local date is day before

Open
#103,188 3 comments 0 reactions 0 assignees View on GitHub
Bug Other
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Environment

SaaS ([https://sentry.io/]())

### Steps to Reproduce

1. Go to Issues Feed
2. Open "Absolute date" picker in time range filter
3. If current local date is the day before current UTC date, unable to select the current UTC date

For example:
Current time is 10pm Eastern standard time on Nov 10
Which means is is 3am on Nov 11 in UTC time

However, I am unable to select Nov 11 as the date in my time range:

Image

Image

### Expected Result

I should be able to select the current UTC date regardless of my local date.

### Actual Result

I am unable to select the current UTC date.

### Product Area

Unknown

### Link

*No response*

### DSN

*No response*

### Version

*No response*

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the Issues Feed's Absolute date picker while the local date is one day behind UTC, then trace the date-boundary logic used to disable or limit selectable dates. Done means the current UTC date can be selected in that timezone scenario without changing the expected time-range behavior.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.