(time, withoutSuffix)
| 3559 | } |
| 3560 | |
| 3561 | function to (time, withoutSuffix) { |
| 3562 | if (!this.isValid()) { |
| 3563 | return this.localeData().invalidDate(); |
| 3564 | } |
| 3565 | return create__createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix); |
| 3566 | } |
| 3567 | |
| 3568 | function toNow (withoutSuffix) { |
| 3569 | return this.to(local__createLocal(), withoutSuffix); |
nothing calls this directly
no test coverage detected