Closed Kurogoma939 closed 7 months ago
I found the root cause.
The intl
package affect this problem.
Intl.defaultFormat = 'ja_JP';
final date = DateTime('2024-2-29');
print(DateFormat('d').format(date); // 29日
Intl.defaultFormat = 'en_US';
final date = DateTime('2024-2-29');
print(DateFormat('d').format(date); // 29
When use this package and device language setting is Japanese. I wrote this code.
so I want to remove "日"