Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Default :sleep value must be an instance of Period #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ebaxt
Copy link

@ebaxt ebaxt commented Jul 20, 2013

Default sleep value can't use (clj-time.core/secs 1) since that returns an instance of Second (even though the documentation says otherwise) not Period. Causes a method not found .toStandardSeconds in period->secs.

Trying to verify if this is a bug in clj-time, but not likely that they will change it since it's going to break existing clients.

https://github.com/clj-time/clj-time/blob/master/src/clj_time/core.clj#L354

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant