Skip to content

Conversation

angelawu236
Copy link
Contributor

@angelawu236 angelawu236 commented Jul 23, 2025

Summary

Full day events were showing 12:AM-11:59PM, when it should be showing "Full day"

Changelog

[General] [Change] - UI now displays "full day" if the event is from 12.XXAM to 11.XXPM

Test Plan

I simplified the logic in ui/event_tile.dart to have a variable hold data.startDate.toLocal() and data.endDate.toLocal(). I then checked the hours of these to see if they were 0 and 23 (12AM and 11PM). If so, I changed the code to display "All day".
I also copied the text style themes from the original TileTitle format.

Screenshot 2025-07-23 at 12 47 53 PM Screenshot 2025-07-23 at 12 48 12 PM

@c3bryant c3bryant merged commit bb696af into experimental Jul 23, 2025
2 checks passed
@c3bryant c3bryant deleted the full-day-event branch July 23, 2025 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants