mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-07 15:38:54 +01:00
fix incorrect date after goto date in weekly view
This commit is contained in:
parent
ed79a68338
commit
623cf1d582
@ -179,7 +179,7 @@ class WeekFragmentsHolder : MyFragmentHolder(), WeekFragmentListener {
|
||||
val view = layoutInflater.inflate(R.layout.date_picker, null)
|
||||
val datePicker = view.findViewById<DatePicker>(R.id.date_picker)
|
||||
|
||||
val dateTime = Formatter.getDateTimeFromTS(currentWeekTS)
|
||||
val dateTime = Formatter.getUTCDateTimeFromTS(currentWeekTS)
|
||||
datePicker.init(dateTime.year, dateTime.monthOfYear - 1, dateTime.dayOfMonth, null)
|
||||
|
||||
AlertDialog.Builder(context!!)
|
||||
|
Loading…
x
Reference in New Issue
Block a user