Skip to content

Commit

Permalink
fix 'No matching method found: round' issue
Browse files Browse the repository at this point in the history
  • Loading branch information
propan committed Nov 24, 2015
1 parent 496fca5 commit cd955c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hh-sync
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# somewhere on your $PATH, like ~/bin. The rest of hh-sync will be
# installed upon first run into the ~/.hh-sync/self-installs directory.

export HH_SYNC_VERSION="0.0.5"
export HH_SYNC_VERSION="0.0.6"

export HH_SYNC_HOME="${HH_SYNC_HOME:-"$HOME/.hh-sync"}"

Expand Down
2 changes: 1 addition & 1 deletion src/hh_sync/api/heiaheia.clj
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
h (/ (- duration lh) 3600)
lm (mod lh 60)
m (/ (- lh lm) 60)]
{:h (int h) :m (int m) :s (java.lang.Math/round lm)}))
{:h (int h) :m (int m) :s (java.lang.Math/round (* 1.0 lm))}))

(defn- format-date
[date]
Expand Down

0 comments on commit cd955c8

Please sign in to comment.