purescript-contrib/purescript-formatters

Add formatter for LocalDateTime or Locale

chexxor opened this issue · 1 comments

Looks like there's no formatter for a DateTime in a Locale/LocalValue/LocalDateTime.

I don't have an immediate need for this formatter, but it's worth noting that this ability is missing.

Actually creating an instance of that LocalDateTime is a different challenge, as it depends on a mapping from locale (America/Chicago) to the timezone/offset (CST/-500) that will be observed for that specific DateTime. I spent lots of time thinking of the problem, so it's worth noting this complexity here, as I didn't find it noted in any other PS library.

garyb commented

Closing this as Locale stuff is gone now.