SeattleColleges / nsc-events-nextjs

NSC Events Web Application
MIT License
5 stars 5 forks source link

nsc-events-9-bug-518-invalid-start-and-end-times #524

Closed cshimm closed 2 months ago

cshimm commented 2 months ago

resolves #518

This PR fixes the start and end time picker fields error. Events whose start and end times are formatted with a space between the time value and the time of day are not parsed properly and so the times must be formatted as such: "XX:XXAM" or "XX:XXPM" "10:00 AM" -> "10:00AM"

The function I used to remove the whitespace uses a common regex pattern for removing whitespace.

https://github.com/SeattleColleges/nsc-events-nextjs/assets/13278479/172bb87d-585a-4a7e-8482-bfea84779fe0

cshimm commented 2 months ago

@heosman I can take a look at that and see if its related to this one and if not I can pick up the other one

heosman commented 2 months ago

@heosman I can take a look at that and see if its related to this one and if not I can pick up the other one

@cshimm I checked on the main branch and it seems to be an issue there too, so don't think it's this PR. I've created the issue so feel free to assign yourself.