Hacker News new | ask | show | jobs
by jpschroeder 861 days ago
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