17 Commits

Author SHA1 Message Date
kendricku
7c162ef28c [DatePicker] Fix Talkback issues with the hint text by adding a TtsSpan.TYPE_VERBATIM so that the hints are read as verbatim text by screen readers.
PiperOrigin-RevId: 776123945
2025-06-27 16:28:30 +00:00
pfthomas
f4d0f5653a [MaterialDatePicker] a11y/i18n alignment
Resolves https://github.com/material-components/material-components-android/issues/3343

PiperOrigin-RevId: 526657661
2023-04-24 15:30:28 -04:00
Kavita Patil
35bd1fc98f [Date Picker] ContentDescription for "DayName" is not properly getting read by talkback for the German language
Resolves https://github.com/material-components/material-components-android/pull/3051

GIT_ORIGIN_REV_ID=91b350bf4830f5903d4809a1c3b097bbec2c2b27
PiperOrigin-RevId: 524068644
2023-04-17 12:14:49 -07:00
pubiqq
619d5a6cad [DatePicker] Fix time zone when custom text input format is set
Resolves https://github.com/material-components/material-components-android/pull/3338

GIT_ORIGIN_REV_ID=bb3760f22753b10608d5bd1b342b5b063b3276bb
PiperOrigin-RevId: 523792669
2023-04-13 09:06:29 -07:00
pfthomas
bcc97bfaf5 [MaterialDatePicker] Fix hint for Korean
PiperOrigin-RevId: 520025180
2023-03-28 16:20:46 +00:00
pfthomas
d4c16e8486 [MaterialDatePicker] Capitalize standalone date
PiperOrigin-RevId: 495627493
2022-12-16 00:54:55 +00:00
hunterstich
276c1171b0 [DatePicker] Exposed method to set a custom formatter for text input fields.
Resolves https://github.com/material-components/material-components-android/issues/3039

PiperOrigin-RevId: 485128314
2022-11-01 05:23:20 -07:00
pfthomas
47868d884e [DatePicker] Date selector hint incorrectly localized
PiperOrigin-RevId: 387066584
2021-07-29 14:28:10 -04:00
dniz
98c7cd15ee [DatePicker] Fixed formatting of year month date pattern for year selection dropdown
PiperOrigin-RevId: 334616659
2020-09-30 17:00:29 -04:00
raajkumars
712a2ce920 [datepicker]Fixed issue that causes the Datepicker to highlight the wrong day as today.
Resolves https://github.com/material-components/material-components-android/issues/882

PiperOrigin-RevId: 315317701
2020-06-08 16:32:12 -04:00
raajkumars
b546cbd3ed Updated UtcDates class in datepicker implementation to allow injection of TimeSource instead of directly using Calendar.getInstance().
PiperOrigin-RevId: 312715093
2020-05-21 16:54:41 -04:00
raajkumars
d2f81cae5a Fixed issue that causes the Datepicker to highlight wrong the day as today.
Resolves https://github.com/material-components/material-components-android/issues/882

PiperOrigin-RevId: 310565860
2020-05-08 15:27:44 -04:00
klblk
a67932de13 [MaterialDatePicker] Change to standalone month format
Resolves https://github.com/material-components/material-components-android/pull/1000

GIT_ORIGIN_REV_ID=24a02c2ce3daa40add8f1ec3bbd6860fcc4b6be1
PiperOrigin-RevId: 294516910
2020-02-12 10:13:32 -05:00
haodong
6694175a5f 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
2019-12-10 07:22:59 -05:00
ldjesper
c097d3d335 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
2019-11-07 16:10:05 -05:00
ldjesper
d78d93577f Remove Month from the public API
PiperOrigin-RevId: 268242042
2019-09-12 13:57:19 -04:00
ldjesper
38e01beb1d MaterialDatePicker forces UTC
PiperOrigin-RevId: 267992416
2019-09-12 13:52:21 -04:00