3 ms·
Date-fns supports 46 locales currently, so it's not nothing. Regarding local times, if it's always local, why worry about it? Just store it in "UTC" without co
by mratzloff 8y ago
Date-fns supports 46 locales currently, so it's not nothing.
Regarding local times, if it's always local, why worry about it? Just store it in "UTC" without conversion, with the understanding that it will never be converted. That's what the Postgres "timestamp without time zone" type essentially is.
- mattmanser 8y agoBecause if you send it up to the client it's very easy to accidentally get it converted unless you constantly guard against it.