4 Commits

Author SHA1 Message Date
haodong
88a67b0eb3 Fixed getDayCopy utility function in UtcDates for DatePicker.
- was copying year/month/date fields between Calendar objects in different time zones.
- convert input Calendar object into a Calendar object in UTC, then copy year/month/date fields to the return Calendar object.

PiperOrigin-RevId: 284597830
(cherry picked from commit 6694175a5f208ccce363fb7631a1b569f52617dc)
2019-12-18 15:50:04 -05:00
ldjesper
cc1cfd7acc Separate date format string from date hint string in MaterialDatePicker for better hints.
Resolves https://github.com/material-components/material-components-android/issues/695

PiperOrigin-RevId: 279095896
(cherry picked from commit c097d3d33506be7382d3bda20909d5f08bb1f220)
2019-12-18 15:14:51 -05:00
ldjesper
6bc87889d6 Remove Month from the public API
PiperOrigin-RevId: 268242042
2019-10-03 15:50:23 -04:00
ldjesper
306d812377 MaterialDatePicker forces UTC
PiperOrigin-RevId: 267992416
2019-10-03 15:50:23 -04:00