Closed kyle-seongwoo-jun closed 2 years ago
Hi, I just added Japanese locale.
and I added defaultSpacer to DurationLocale for CJK locale. It should be no space between value and unit on CJK locale.
defaultSpacer
DurationLocale
const dur = Duration(days: 5, hours: 23); prettyDuration(dur, locale: ChineseSimplifiedDurationLocale()) // current: '5 日 23 小时' // changed: '5日 23小时' prettyDuration(dur, locale: JapaneseDurationLocale()) // current: '5 日 23 時間' // changed: '5日 23時間' prettyDuration(dur, locale: KoreanDurationLocale()) // current: '5 일 23 시간' // changed: '5일 23시간'
Thank you!
Thanks for implementing the feature!
Hi, I just added Japanese locale.
and I added
defaultSpacer
toDurationLocale
for CJK locale. It should be no space between value and unit on CJK locale.Thank you!