mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-18 11:49:01 +00:00
better date formatting
This commit is contained in:
parent
0a02495a95
commit
1abe8e86ff
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ class SubscriptionDetailsView : LinearLayout {
|
|||
val now = LocalDate.now()
|
||||
val nextHourglassDate = LocalDate.now().plusMonths(nextHourglass.toLong())
|
||||
val format = if (now.year != nextHourglassDate.year) {
|
||||
"MMMM YY"
|
||||
"MM YYYY"
|
||||
} else {
|
||||
"MMMM"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue