This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-31
Channels
- # aleph (12)
- # announcements (4)
- # asami (7)
- # babashka (20)
- # beginners (92)
- # calva (74)
- # clj-kondo (8)
- # cljdoc (70)
- # clojure (47)
- # clojure-dev (29)
- # clojure-europe (27)
- # clojure-nl (7)
- # clojure-norway (3)
- # clojurescript (7)
- # cursive (2)
- # datomic (1)
- # emacs (8)
- # events (5)
- # fulcro (36)
- # gratitude (4)
- # humbleui (25)
- # introduce-yourself (1)
- # lsp (26)
- # malli (6)
- # missionary (8)
- # nbb (50)
- # off-topic (9)
- # pathom (2)
- # pedestal (3)
- # portal (32)
- # practicalli (5)
- # reitit (5)
- # releases (1)
- # ring (6)
- # shadow-cljs (87)
- # sql (31)
- # tools-deps (26)
- # vim (3)
- # xtdb (15)
hi all, can anyone explain what's happening here?
user=> (def t (ZonedDateTime/now))
#'user/t
user=> (def zr (.getRules (.getZone t)))
#'user/zr
user=> (def instant (.toInstant t))
#'user/instant
user=> (.isDaylightSavings zr instant)
Method isDaylightSavings on class java.time.zone.ZoneRules not allowed! [at <repl>]
user=>
this is the commonly suggested way to determine if a ZonedDateTime (i.e. a java time) is in daylight savings or not, but I can't seem to execute it on Babashka 0.9.161
This is a roundabout way of saying that this class isn't available in bb yet., We should add it here: https://github.com/babashka/babashka/blob/ccc1512bb67469268493deec4a24b8f6390602cf/src/babashka/impl/classes.clj#L370 I can provide you with a temporary new binary after it's added there.
that would be great, thanks
intel?
that's what you were asking right?
It's building now in CI, commit e31cb57a3db943acd8a37234e48a2b60e7dc7dfc
. You can see the binaries coming in in #CSDUA8S6B in a few minutes. Once it's there, you should also be able to install it using:
$ bash <(curl ) --version 1.0.165-SNAPSHOT --dir .
yep, i got it
thanks!
so this works and i was able to solve my problem
i'm not able to push my changes to the rest of the team until i have an actual build though - any idea when that will come?
oh sweet, that would be great. you're the best, man!