evidence icon indicating copy to clipboard operation
evidence copied to clipboard

[Bug]: Wrong dates in DateRange

Open igorgukasyan opened this issue 1 year ago • 3 comments

Describe the bug

Latest merge seems to have made date ranges from DateRange (maybe not only) work incorrectly - the dates in inputs.source.start and inputs.source.end are one day earlier than what they were set as.

Thanks!

Steps to Reproduce

  1. Go to https://docs.evidence.dev/components/date-range#filtering-a-query under "Filtering a query"
  2. Set dates
  3. Check their correctness

I could also replicate it in my own dashboard

Logs

No response

System Info

No response

Severity

serious, but I can work around it

Additional Information, or Workarounds

No response

igorgukasyan avatar Nov 04 '24 23:11 igorgukasyan

Hi Igor - this change was implemented in https://github.com/evidence-dev/evidence/pull/2694

Can you confirm what time zone you are in, perhaps this is having an impact

archiewood avatar Nov 05 '24 21:11 archiewood

Hi Archie,

I am in CET, thanks!

igorgukasyan avatar Nov 06 '24 13:11 igorgukasyan

Suspect this is impacting all users accessing Evidence from UTC+XX time zones.

archiewood avatar Nov 06 '24 13:11 archiewood