Yuito-app-android/app/src/main/java/com/keylesspalace/tusky
Nik Clayton 5d4c14aed9
Correct the calculations for choosing the earliest day to show in the calendar / selected day (#3923)
To determine the earliest day to show in the calendar, take the current
date/time, add the minimum scheduled seconds buffer (which may roll the
date/time over to the next day), and then clamp to the start of that
day. So it's either today (if the current time + minimum scheduled
seconds is less than midnight) or it's tomorrow.

When displaying the calendar work around a misfeature in Material Date
Picker. It accepts UTC seconds-since-epoch, but does not convert it to
the local time for display.

While I'm here, show the selected day in the time picker's title.

Fixes https://github.com/tuskyapp/Tusky/issues/3916
2023-08-07 19:30:08 +02:00
..
adapter Kotlin 1.9.0 (#3835) 2023-08-02 09:04:24 +02:00
appstore Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00
components Correct the calculations for choosing the earliest day to show in the calendar / selected day (#3923) 2023-08-07 19:30:08 +02:00
db Kotlin 1.9.0 (#3835) 2023-08-02 09:04:24 +02:00
di Make AccountPreferenceDataStore injectable (#3653) 2023-06-11 15:34:58 +02:00
entity Add support for setting a list's "exclusivity" option (#3932) 2023-08-06 20:29:34 +02:00
fragment Fix image zoom / pan / scroll / swipe (#3894) 2023-07-31 12:44:01 +02:00
interfaces Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
json update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
network Add support for setting a list's "exclusivity" option (#3932) 2023-08-06 20:29:34 +02:00
pager Keep the tabs adapter over the life of the viewpager (#3255) 2023-02-15 19:17:59 +01:00
receiver Move cache pruning to a WorkManager worker (#3649) 2023-06-11 13:17:30 +02:00
service Replace deprecated getParcelable* methods with compat versions (#3633) 2023-06-11 12:58:55 +02:00
settings Filters> Tabs: use checkbox instead of switch (#3927) 2023-08-06 11:50:11 +02:00
usecase Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00
util Officially rename error elephant to errorphant (#3922) 2023-08-05 15:39:07 +02:00
view Officially rename error elephant to errorphant (#3922) 2023-08-05 15:39:07 +02:00
viewdata Refactor "trending hashtags" code (#3595) 2023-06-10 19:47:07 +02:00
viewmodel Add support for setting a list's "exclusivity" option (#3932) 2023-08-06 20:29:34 +02:00
worker Show notifications from workers (#3760) 2023-06-29 18:37:27 +02:00
AboutActivity.kt Show additional bug report info in AboutActivity (#3802) 2023-08-03 12:20:35 +02:00
AccountsInListFragment.kt Simplify repeated code that shows errors (#3762) 2023-06-19 23:49:20 +02:00
BaseActivity.java Provide a preference to scale all UI text (#3248) 2023-06-29 18:34:56 +02:00
BottomSheetActivity.kt Use case-insensitive checks when comparing account URLs in search (#3931) 2023-08-06 13:45:48 +02:00
EditProfileActivity.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
LicenseActivity.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
ListsActivity.kt Add support for setting a list's "exclusivity" option (#3932) 2023-08-06 20:29:34 +02:00
MainActivity.kt Show the correct tab title when opening the activity (#3915) 2023-08-03 21:49:19 +02:00
SplashActivity.kt remove legacy notification channel cleanup (#2550) 2022-05-25 20:54:25 +02:00
StatusListActivity.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
TabData.kt Kotlin 1.9.0 (#3835) 2023-08-02 09:04:24 +02:00
TabPreferenceActivity.kt Display the list's title in the array adapter (#3823) 2023-07-08 21:08:37 +02:00
TuskyApplication.kt Show notifications from workers (#3760) 2023-06-29 18:37:27 +02:00
ViewMediaActivity.kt Replace deprecated getParcelable* methods with compat versions (#3633) 2023-06-11 12:58:55 +02:00