Peter, I played around with the code in your gist. The value returned by the "date-changed" event does indeed seem to be a JS Date value (which I determined by handling it as a Json.Value value).
I don't see how to convert that Json.Value holding a JS Date into an Elm `Time` value. The Json.Decode functions don't seem to handle JS Date values at all. -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
