Open
Description
Describe the bug
Under react native(iOS), the short formatting of the weekdays (‘ccc’) does not work for the German language.
Android works fine.
To Reproduce
import { DateTime } from 'luxon';
const now = DateTime.now();
const shortWeekday = now.setLocale('de').toFormat('ccc'); // => NULL
Actual vs Expected behavior
It should display the short name of the respective day of the week:
- Monday -> Mo
- Tuesday -> Di
- Wednesday -> Mi
- Thursday -> Do
- Friday -> Fr
- Saturday -> Sa
- Sunday -> So
Desktop (please complete the following information):
- OS: iOS 18.3.2
- Runtime: React Native 0.76 (Expo 52)
- Luxon: 3.5.9
Additional context
Code for tab labels:
const datetime = DateTime.now();
const tabLabel = `${datetime.toFormat('ccc')}, ${datetime.toFormat('dd.LL.')}`;