Skip to content

Commit d0f6a42

Browse files
committed
added eta display notice
1 parent ea73371 commit d0f6a42

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ The progressbar can be customized by using the following build-in placeholders.
266266
- `{percentage}` - the current progress in percent (0-100)
267267
- `{total}` - the end value
268268
- `{value}` - the current value set by last `update()` call
269-
- `{eta}` - expected time of accomplishment in seconds
269+
- `{eta}` - expected time of accomplishment in seconds (limmited to 115days, otherwise INF is displayed)
270270
- `{duration}` - elapsed time in seconds
271271
- `{eta_formatted}` - expected time of accomplishment formatted into appropriate units
272272
- `{duration_formatted}` - elapsed time formatted into appropriate units
@@ -291,7 +291,7 @@ Custom formatters
291291
Instead of a "static" format string it is also possible to pass a custom callback function as formatter.
292292
For a full example (including params) take a look on `lib/formatter.js`
293293

294-
### Example ###
294+
### Example 1 ###
295295

296296
```js
297297
function formatter(options, params, payload){

0 commit comments

Comments
 (0)