react-native-paper-dates icon indicating copy to clipboard operation
react-native-paper-dates copied to clipboard

Web, de locale, analog clock in the morning cannot select noon

Open DorianSternVukotic opened this issue 3 years ago • 0 comments

In desktop web, at locale de, in the morning, analog clock shows 00 both in inner and outer circle and it is impossible to select noon.

Reproducible on the demo page of this project

image

We fixed on our project by using patch package and turning Line 37 in src/Time/AnalogClockHours.tsx {mode === 'AM' && i + 1 === 12 ? '00' : i + 1} into {(mode === 'AM' && !!!is24Hour && i + 1 === 12) ? '00' : i + 1}

DorianSternVukotic avatar Jul 21 '22 10:07 DorianSternVukotic