I am not seeing a way to use options / locales when transforming a date to a localString.
Am I missing something here? It seems the binding is missing these props?
Thanks,
I am not seeing a way to use options / locales when transforming a date to a localString.
Am I missing something here? It seems the binding is missing these props?
Thanks,
I think the Js
module is not meant to cover every case the JS libraries do, but you can define your own bindings, for example:
https://rescript-lang.org/try?code=C4TwDgpgBMULxQFIGcB0ARAhsCrgCh8ABZCAOwBN8IAPHAJzMwBsYB7AGTYGMWIBlYPQCWZAOYAuKAApgAGijIhosQEp4APkXLx8KACJgnHn0Ejx+wswiwAtiCw49KDNly3MAawjTVVm1AARvSYAF7CzMKYZFy81npGsaY6YtL2jhAK+mDAALQAQgBK+n6EAPRlUADqwsAAFlBsOcJsZMiEJORUtAxMrIkm1mYqNfUA8s2tyFKyCkrmYgoA3qioAL7qcFrzKnqGxnECKZb41rBkEADuSfEIA4fD4qN1E8AtbWkOblnkuQCq-H0ywMb1sEFCrQg+ik+j+ABUAML6KAbIA