Show weekday + date on weekly reset labels
Build APK / build (push) Successful in 2m7s

Weekly reset now reads "Resets Friday, Jun 6 · 3:00 PM" in the app and
full widget; small widget uses a compact "Fri, Jun 6" via a new
formatResetShort(). (Amir's local UI polish, folded in on top of v1.14.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-04 13:27:24 +00:00
parent 07f26e4487
commit 4470a6f7ba
2 changed files with 13 additions and 4 deletions
@@ -264,8 +264,9 @@ class MainActivity : AppCompatActivity() {
if (epochMs <= 0) return ""
if (epochMs <= System.currentTimeMillis()) return "Resets soon"
val day = SimpleDateFormat("EEEE", Locale.US).format(Date(epochMs))
val date = SimpleDateFormat("MMM d", Locale.US).format(Date(epochMs))
val timeStr = SimpleDateFormat("h:mm a", Locale.US).format(Date(epochMs))
return "Resets $day $timeStr"
return "Resets $day, $date · $timeStr"
}
companion object {