Skip to content

Commit

Permalink
Merge pull request #69 from Marketionist/update-dependencies
Browse files Browse the repository at this point in the history
Update some wording around generateDateTimePlus
  • Loading branch information
Marketionist authored Oct 10, 2024
2 parents 25aafcd + 6f15f9f commit 573d56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const { dateTime } = require('js-automation-tools');
const currentDateTime = dateTime.generateDateTime(); // '2024-09-23T19:26:35'
```
Also you can use a `generateDateTimePlus` function that generates current (if no initial date is provided) date and time plus number of days, hours, minutes, seconds if they are provided. This function accepts configuration object with 5 arguments:
Also you can use `generateDateTimePlus` function that generates current (if no initial date is provided) date and time plus number of days, hours, minutes, seconds if they are provided. This function accepts configuration object with 5 arguments:
1. `days` - number of days that will be added to current (if no initial date is provided) date and time (optional, default value: `0`).
2. `hours` - number of hours that will be added to current (if no initial date is provided) date and time (optional, default value: `0`).
3. `minutes` - number of minutes that will be added to current (if no initial date is provided) date and time (optional, default value: `0`).
Expand Down

0 comments on commit 573d56a

Please sign in to comment.