Fork me on GitHub
#beginners
<
2015-08-31
>
jyd10:08:51

I'm using clj-time to compare two dates (or (t/before? date-val max-date-val)(clj-time.core/equal? date-val max-date-val)) , but I'm getting No such var: clj-time.core/equal?, after doing

(:require [flambo.api :as f]
            [clojure.string :as s]
            [clj-time.core :as t]
            [clj-time.coerce :as tc]
            [clj-time.format :as tf]...
and my project.clj has [clj-time "0.11.0"] as one of my dependencies. Please any suggestions?

plexus11:08:21

no wait, scrap that. It's actually there, not sure why http://crossclj.info doesn't show it

plexus11:08:54

Does it work with (t/equal??

zavalit12:08:17

and the result of the println is nil

jyd12:08:51

@plexus: yup, Actually I’ve resolved the issue, had to bump the version of clj -time to 0.10.0, seems t/equal? is not available in earlier versions simple_smile

chris12:08:00

@zavalit: what library are you using to run the query?

chadhs14:08:20

hey guys, is there an easy way to clear the screen if you’re in just a plain lein repl

dottedmag14:08:57

chadhs: Ctrl+L

chadhs14:08:25

yeah i tried that to no avail

chadhs14:08:32

think it’s cuz tmux is interfering

chadhs14:08:03

@dottedmag: you are my hero

dottedmag14:08:11

You are welcome.

chadhs14:08:12

im using tmux-navigator so i’ll bind this