(time, withoutSuffix)
| 3548 | } |
| 3549 | |
| 3550 | function from (time, withoutSuffix) { |
| 3551 | if (!this.isValid()) { |
| 3552 | return this.localeData().invalidDate(); |
| 3553 | } |
| 3554 | return create__createDuration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix); |
| 3555 | } |
| 3556 | |
| 3557 | function fromNow (withoutSuffix) { |
| 3558 | return this.from(local__createLocal(), withoutSuffix); |
nothing calls this directly
no test coverage detected