Skip to content

Commit

Permalink
Fix calendar handling of pre-1970 birthdates
Browse files Browse the repository at this point in the history
Re submit PR #224, all credits to @TristanDonze.

I cannot do a build right now, but I can more than happily test a beta build if needed.
  • Loading branch information
LFd3v authored Feb 6, 2025
1 parent fb56145 commit e4d124f
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -923,9 +923,6 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {

val formatter = SimpleDateFormat(format, Locale.getDefault())
val date = formatter.parse(birthdayAnniversary)
if (date.year < 70) {
date.year = 70
}

val timestamp = date.time / 1000L
val lastUpdated = System.currentTimeMillis()
Expand Down

0 comments on commit e4d124f

Please sign in to comment.