SCCapstone / PalmettoProgrammers

https://www.forces-unite.com
MIT License
4 stars 1 forks source link

Post time frame can technically have same start and end time #516

Closed GElsey55 closed 5 months ago

GElsey55 commented 5 months ago

While this is all technically correct, it's still confusing for the user as the way it's formatted leads them to believe that this all occurs on the same day. image

epadams commented 5 months ago

Good catch, thanks. If anyone else is confused by this, it means that this is Wednesday from 12:05 to Thursday at 12:05 (within the 24hour limit), but we don't visually display the difference through days. Needs to change anyways in case a post goes overnight into the next day

jbytes1027 commented 5 months ago

I would say just make the max length 23 hrs 59 minutes. If the end time looks less than the first, I don't think it's hard to deduce that its talking about the day after. Adding a second day may make it less readable.