tick
tick copied to clipboard
Time as a value.
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...
No new significant issues have been raised since the 0.7.0 release mid 2023. If this continues to be the case until mid-2024, a new 1.0 version will be released then...
I think this is missing in tick: I have a duration of 100 days, and want to double it. This is what I ended up with: (cljc.java-time.duration/multiplied-by (tick/new-duration 100 :days)...
Hey, really nice work on tick. Seems like these should work: ```clojure (t.i/divide (t/new-duration 1 :seconds) (t/new-duration 1 :millis)) (t.i/divide (t/new-duration 1 :seconds) (t/new-duration 1 :micros)) (t.i/divide (t/new-duration 1 :seconds)...
Hi! I see that disjoin is only partially implemented, but there's still code that looks interesting in the TODO comment. Is it a work in progress or is that something...
```clojure (t/concur #:tick{:beginning #time/instant"2000-01-01T01:00:01.011Z", :end #time/instant"2000-01-01T02:00:01.011Z"} #:tick{:beginning #time/instant"2000-01-01T00:00:00.003Z", :end #time/instant"2000-01-01T01:00:00.003Z"} #:tick{:beginning #time/instant"2000-01-01T01:00:01.179Z", :end #time/instant"2000-01-01T02:00:01.179Z"}) ``` Fails with: ```No implementation of method: :< of protocol: #'tick.core/ITimeComparison found for class: nil``` Because:...
# Problem In automated tests, it's desirable to control time. It is achieved by something typically called a _fake clock_. The [Use a fake system clock](http://www.javapractices.com/topic/TopicAction.do?Id=234) article enumerated the expected...
Now that Tick has been bumped to version 1.0, it seems like it would be good to finish out the documentation. Notably, these sections need some love: * 4.6 Comparison...
When the divisor doesn't divide nicely into the interval period, `divide-by` will sometimes return an extra interval that consists of just a few nanoseconds. For instance: ``` => (ti/divide-by 17...
You can format an `inst` with no format string, but as soon as you add one, you get an exception: ``` user> (t/format (t/inst)) "Fri Aug 08 09:16:50 CDT 2025"...