Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add missing schedule date format in ThreadListFragment #2164

Merged
merged 9 commits into from
Feb 17, 2025

Conversation

LunarX
Copy link
Contributor

@LunarX LunarX commented Feb 14, 2025

The scheduled threads need to have a new relative formatting of the date which was missing in the original scheduled message feature. This PR adds the missing formatting and lays the groundwork for the snooze as well.

The existing default case logic for formatting dates has simply been moved to the new DateDisplay class without modifications. The name of the XML ImageView holding the "scheduled" icon has been renamed with a more neutral name to easily be reused for snooze

@LunarX LunarX added the feature Add a new function or capability to the project label Feb 14, 2025
@LunarX LunarX requested a review from a team February 14, 2025 15:56
@LunarX LunarX self-assigned this Feb 14, 2025
@LunarX LunarX force-pushed the fix-missing-schedule-date-format branch from d5a0fe8 to 6527d12 Compare February 17, 2025 10:26
…cision namming

The method does format future dates in a specific way so it can't be called "formatPastDate"
@LunarX LunarX force-pushed the fix-missing-schedule-date-format branch from 99141e0 to 7b30541 Compare February 17, 2025 10:40
@LunarX LunarX merged commit c1728eb into master Feb 17, 2025
6 checks passed
@LunarX LunarX deleted the fix-missing-schedule-date-format branch February 17, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Add a new function or capability to the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants