new Date().decrement('minute').diff(new Date(), 'second')
60

Works for me. If you put in "seconds" as you have below, you should have
gotten this error:

TypeError: Object #<Object> has no method 'seconds'

On Tue, Feb 14, 2012 at 4:12 AM, hamburger <[email protected]> wrote:

> why this method do not works with
> today.diff(tomorrow, 'seconds'); or Milliseconds
>
> the docs says: 'day', 'month', etc.
>
> etc. !== seconds ???
>

Reply via email to