clojure.java-time icon indicating copy to clipboard operation
clojure.java-time copied to clipboard

Java 8 Date-Time API for Clojure

Results 23 clojure.java-time issues
Sort by recently updated
recently updated
newest added

Given that Clojure 1.11 is about to be released any day now, how about cutting a new release which includes https://github.com/dm3/clojure.java-time/pull/83 to get rid of the warning? Thanks for the...

Consider the following REPL session, in which version `0.3.2` of the library is being used (as per the deps.edn guide [here](https://clojure.org/guides/deps_and_cli#_running_a_repl_and_using_libraries)). ``` (import java.time.temporal.ChronoField) (import java.time.temporal.Temporal) (def my-local-time (t/local-time 1...

bug

`clojure.java-time` takes seconds to load: Recent mBP, macOS 10.14, Clojure 1.8 or 1.10: ``` user=> (time (require 'java-time)) "Elapsed time: 1691.125038 msecs" ``` Slightly older mBP, macOS 10.14, Clojure 1.10:...

enhancement

If `java-time` requires namespaces in a different order, the conversion graph will be different. - [ ] unit test the current graph - [ ] think about how to maintain...

Some things we need for babashka support: - java.time.temporal.TemporalUnit - java.time.temporal.ValueRange - java.time.chrono.Chronology - java.time.temporal.JulianFields Note: cljc.java-time throws errors dynamically in these cases for bb https://github.com/henryw374/cljc.java-time#cljcjava-time WIP: https://github.com/babashka/babashka/pull/1298

enhancement

Enhancement request: if would be nice to be able to do the equivalent of: `myDateValue.format(DateTimeFormater.ofLocalizedDate(FormatStyle.FULL))` i.e. to display dates and times in the default format for the current locale. Obviously...

enhancement
help wanted

The `java.time.foo` objects that are returned by fns in this lib print as something like `#object[java.time.Instant "0x6cc2abad" "2017-11-13T01:40:56.483Z"]` However these can't be used interactively as *data* because unlike java.util.Date's `#inst...

enhancement
help wanted

``` Exception in thread "main" java.lang.ClassCastException: java_time.graph.Types cannot be cast to java.lang.Comparable at clojure.lang.Util.compare(Util.java:153) at clojure.lang.APersistentVector.compareTo(APersistentVector.java:439) at java.util.concurrent.ConcurrentHashMap.compareComparables(ConcurrentHashMap.java:732) at java.util.concurrent.ConcurrentHashMap$TreeBin.(ConcurrentHashMap.java:2773) at java.util.concurrent.ConcurrentHashMap.treeifyBin(ConcurrentHashMap.java:2630) at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1063) at java.util.concurrent.ConcurrentHashMap.putIfAbsent(ConcurrentHashMap.java:1535) at java_time.potemkin.util$fast_memoize$fn__11705.invoke(util.clj:50) at java_time.graph$has_source_type_QMARK_$contains_src_types_QMARK___12015$fn__12016.invoke(graph.clj:279)...

bug
help wanted

Would it be possible to add support for the `org.threeteen.extra.scale.TaiInstant` and conversion between it and the `UTC` time basis? The assumption would be that the user would have added the...

enhancement
help wanted
community