Comment

Comment by jpschroeder

Thanks!

You’re bang on — the intention is to be a thin layer on the native Intl while exposing some API features that are not easily accessible. My personal favorite is getting the format tokens for various format styles: `formatStr('full', 'en')` then combining those with range('MMMM', 'en'). You can build some pretty neat stuff and is what powers our company’s datepicker: https://formkit.com/inputs/datepicker

parent jpschroeder 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton