Skip to content

Commit

Permalink
Added info to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SerhiiCho committed Jan 28, 2022
1 parent 79a778e commit 830a579
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ All options are available in `Serhii\Ago\Option::class` as constants.

| Option | Description |
| --- | --- |
| Option::ONLINE | Display "Online" if date interval within 60 seconds. After 60 seconds output will be the same as usually "x time ago" format. |
| Option::NO_SUFFIX | Remove suffix from date and have "5 minutes" instead of "5 minutes ago". |
| Option::JUST_NOW | Prints `Just now` when time is within 1 minutes. For example instead of `34 seconds ago` it will print `Just know` |
| ONLINE | Display "Online" if date interval within 60 seconds. After 60 seconds output will be the same as usually "x time ago" format. Incompatible with option `JUST_NOW` |
| NO_SUFFIX | Remove suffix from date and have "5 minutes" instead of "5 minutes ago". |
| JUST_NOW | Prints `Just now` when time is within 1 minutes. For example instead of `34 seconds ago` it will print `Just know`. Incompatible with option `ONLINE`. |

## Quick Start

Expand Down

0 comments on commit 830a579

Please sign in to comment.