Tusky-App-Android/app
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
..
schemas/com.keylesspalace.tusky.db.AppDatabase Cache locked state of connected accounts (#3790) 2023-07-27 00:09:26 +02:00
src Correct the calculations for choosing the earliest day to show in the calendar / selected day (#3923) 2023-08-07 19:30:08 +02:00
build.gradle Fix image zoom / pan / scroll / swipe (#3894) 2023-07-31 12:44:01 +02:00
getGitSha.gradle Previous attempt to fix git sha on non-git build broke git build. (#3322) 2023-02-16 20:20:52 +01:00
lint-baseline.xml Officially rename error elephant to errorphant (#3922) 2023-08-05 15:39:07 +02:00
lint.xml Use lint version 8.1.0 to fix erroneous warning about forEach (#3903) 2023-07-30 21:45:43 +02:00
proguard-rules.pro Remove shrinker rules for okhttp (#3560) 2023-04-24 12:08:03 +02:00