Skip to content

Commit 902fae3

Browse files
committed
Converted second html table to markdown in README.md
1 parent 09487aa commit 902fae3

File tree

1 file changed

+7
-27
lines changed

1 file changed

+7
-27
lines changed

README.md

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Serhii\Ago\Lang::set('ru');
4444
#### Supported languages
4545

4646
| Flag | Language | Short representation |
47-
|------|----------|----------------------|
47+
| --- | --- | --- |
4848
| 🇬🇧 | English | en |
4949
| 🇷🇺 | Russian | ru |
5050
| 🇺🇦 | Ukrainian | uk |
@@ -77,32 +77,12 @@ TimeAgo::trans('now', [Option::ONLINE, Option::UPPER]); // output: ONLINE
7777

7878
All options are available in `Serhii\Ago\Option::class` as constants.
7979

80-
<table>
81-
<thead>
82-
<tr>
83-
<th>Option</th>
84-
<th>Description</th>
85-
</tr>
86-
</thead>
87-
<tbody>
88-
<tr>
89-
<td>Option::ONLINE</td>
90-
<td>Display "Online" if date interval within 60 seconds. After 60 seconds output will be the same as usually "x time ago" format.</td>
91-
</tr>
92-
<tr>
93-
<td>Option::NO_SUFFIX</td>
94-
<td>Remove suffix from date and have "5 minutes" instead of "5 minutes ago".</td>
95-
</tr>
96-
<tr>
97-
<td>Option::UPCOMING</td>
98-
<td>Without this option passed time will be subtracted from current time, but with this option it will take given time and subtract current time. It is useful if you need to display a counter for some date in future.</td>
99-
</tr>
100-
<tr>
101-
<td>Option::UPPER</td>
102-
<td>Set output to uppercase.</td>
103-
</tr>
104-
</tbody>
105-
</table>
80+
| Option | Description |
81+
| --- | --- |
82+
| Option::ONLINE | Display "Online" if date interval within 60 seconds. After 60 seconds output will be the same as usually "x time ago" format. |
83+
| Option::NO_SUFFIX | Remove suffix from date and have "5 minutes" instead of "5 minutes ago". |
84+
| Option::UPCOMING | Without this option passed time will be subtracted from current time, but with this option it will take given time and subtract current time. It is useful if you need to display a counter for some date in future. |
85+
| Option::UPPER | Set output to uppercase. |
10686

10787
## Quick Start
10888

0 commit comments

Comments
 (0)