Skip to content

bug: Various Datetime Conversion Issues #3

@GrammAcc

Description

@GrammAcc

There are a couple bugs related to event scheduling and datetimes.

  • Editing a recurring event recalculates the event dates correctly, but it assigns the dates to the wrong events.
    • repro steps:
      • Seed the events db, so that there is a single coffee and code event with the venue set to JC Resource Library
      • Create a couple of events in the coffee and code series while still set to Monthly interval. Do not set their venue.
      • Change the interval to Weekly.
      • Change the interval to Biyearly.
      • Change the interval back to Monthly.
      • The event with the assigned venue should have the earliest date. The same as how it was seeded. Instead, one of the two events just created will have the earliest date, and the seeded event with the venue will have one of the later dates in the series.
  • The datetimes are showing as the UTC datetime in the UI instead of the local US central datetimes.

I think these issues likely both have the same root cause. I just need to go through and ensure that the BE is always using UTC everywhere and move the datetime formatting to the FE javascript code instead of doing it in the prepare transformation.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions