I’m wondering if there is a way to use some Javascript client APIs via Hologram without writing some kind of pure JS hooks.
I want to add some date information to my pages. A notoriously sticky wicket, to be sure. However my needs are fairly simple. I have UTC instants in my data source. I’d like to display them as local times for user convenience.
I don’t like pushing client concerns to the server or vice-versa. So I’d rather not round trip the client’s TZ to the server to create a date string in Elixir which might not even match their locale’s preferred formatting. Instead, I’d like to push the common-to-all-clients UTC instants to the clients and allow them to format it as desired.
Is this just something for which I will have to write some Javascript? Or is there a clever workaround of which I cannot think?


















