mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed date picker in meeting scheduler
This commit is contained in:
parent
bad1621126
commit
0d5bf5ed3e
1 changed files with 2 additions and 1 deletions
|
|
@ -301,7 +301,8 @@ class ScheduleMeetingViewModel
|
|||
|
||||
@UiThread
|
||||
fun setStartDate(timestamp: Long) {
|
||||
val cal = Calendar.getInstance()
|
||||
// Material date picker always returns a timestamp in UTC timezone !
|
||||
val cal = Calendar.getInstance(TimeZone.getTimeZone("UTC"))
|
||||
cal.timeInMillis = timestamp
|
||||
|
||||
startYear = cal.get(Calendar.YEAR)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue