You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! I tried updating our project's dependencies today to the latest versions, including the ones in our package.json. We are using shadow-cljs. After updating the js-joda packages to these versions:
I just upgraded and hit this as well, I also see TypeError: Cldr.load is not a function before the locale is not available removing the locale makes the cldr.load error go away.
This is the error after Cldr.load Uncaught Error: Locale is nil, try adding a require '[tick.locale-en-us]
just use the version tick declares a dependency on.
unless there's a reason you need to be on the latest? afaik versions since the one tick uses have not fixed anything significant
Thanks Henry, indeed using henryw374/js-joda {:mvn/version "3.2.0-0"} in deps.edn instead of the newest js-joda 5 in package.json, and using the timezone and locale js-joda versions that tick requires on worked 👍🏼
Activity
henryw374 commentedon Nov 1, 2023
maybe the way to consume the locale has changed a bit?
instructions: https://js-joda.github.io/js-joda/manual/Locale.html
looks pretty similar so there's probably just a little tweak needed
olymk2 commentedon Apr 11, 2024
I just upgraded and hit this as well, I also see
TypeError: Cldr.load is not a function before the locale is not availableremoving the locale makes the cldr.load error go away.This is the error after Cldr.load
Uncaught Error: Locale is nil, try adding a require '[tick.locale-en-us]bortexz commentedon Aug 7, 2025
I've also encountered this, has anyone found a workaround to make this work?
henryw374 commentedon Aug 7, 2025
just use the version tick declares a dependency on.
unless there's a reason you need to be on the latest? afaik versions since the one tick uses have not fixed anything significant
bortexz commentedon Aug 8, 2025
Thanks Henry, indeed using
henryw374/js-joda {:mvn/version "3.2.0-0"}in deps.edn instead of the newest js-joda 5 in package.json, and using the timezone and locale js-joda versions that tick requires on worked 👍🏼