Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ksdev-pl committed Jul 12, 2015
1 parent 4efb02d commit 504edbf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ $ composer require ksdev/nbp-currency-converter

## Usage

If you don't pass a table publication date to `convert` or `averageExchangeRates` methods, the last published average
exchange rates table will be used, starting from yesterday, so e.g. on 2015-07-10 (friday) a table from 2015-07-09
(thursday) will be used, and on 2015-07-12 (sunday) a table from 2015-07-10 (friday) - unless no table was published on
this day, then the table from previous day will be used, etc.
If optional table publication date is not passed to `convert` or `averageExchangeRates` methods, the last published
average exchange rates table will be used, starting from yesterday, so e.g. on 2015-07-10 (friday) a table from
2015-07-09 (thursday) will be used, and on 2015-07-12 (sunday) a table from 2015-07-10 (friday) - unless no table was
published on this day, then the table from previous day will be used, etc.

``` php
use Ksdev\NBPCurrencyConverter\CurrencyConverter;
Expand Down

0 comments on commit 504edbf

Please sign in to comment.