timrwood/moment — pull request #232 by ojarva (2012-03-26 09:26:26+00:00)
Title: Show "%d seconds"

I have a website where user can check status of batch run. Time varies from several hours to few minutes, and people tend to wait last minutes watching countdown. **moment(timestamp).fromNow()** was really useful, but it shows "a few seconds" awfully long period (one minute is long time to wait, when you think it's just ten seconds or so).

Changed logic for relativeTime:

```javascript
if (seconds > 10 && seconds < 55) {
show "%d seconds"
} else if (seconds < 10) {
show "a few seconds"
}
```

Unfortunately, I don't have Node installed, so I didn't update minified version or tests (which might be enough reason to reject this pull request).