Hi, I also am one of the happy users of cljs-time and I noticed the latest changes to be more congruent with clj-time, which I find very nice.
However, the inline documentation of core.cljs was not updated yet and it still points to some methods handlinge timezone offsets. These methods do not exist anymore (local-date-time, time-zone-for-offset). So I have two questions. 1. How do I get the time zone offset with cljs-time? 2. How do I apply that to my datetime? I could not find a solution for both despite this one: 1. Get time zone offset via js var d = new Date() var n = d.getTimezoneOffset(); (written in cljs of course) 2. Apply that offset via the (from-now... function. This solution seems a bit hacky for me and I wonder if I miss something or this is the way it's intended. Best Regards, Sven -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
