NaiveDate icon indicating copy to clipboard operation
NaiveDate copied to clipboard

SwiftUI `Text.init(_ date: NaiveDate, style: Text.DateStyle)` utility

Open robmaceachern opened this issue 3 years ago • 2 comments

Thanks for the helpful library. I discovered it as part of Create API and it's wonderful!

I was wondering if you'd be interested in adding a SwiftUI Text.init(_ date: NaiveDate, style: Text.DateStyle) utility, in the same style as Text.init(_ date: Date, style: Text.DateStyle).

I think it'd be helpful (I was reaching for it today) but I'm not sure if it'd be a fit as part of this package.

robmaceachern avatar Jan 20 '22 22:01 robmaceachern

Yes, NaiveDate has some convenience localizable strings formatting. I don't mind adding it. PRs are welcome.

kean avatar Jan 25 '22 15:01 kean