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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user