diff --git a/.docs/aurora/configuration.md b/.docs/aurora/configuration.md index 6fe29ed..6845d5b 100644 --- a/.docs/aurora/configuration.md +++ b/.docs/aurora/configuration.md @@ -80,9 +80,23 @@ Manage the immunity whitelist. - Usage: `[p]aurora timedelta ` - Aliases: `tdc, td, and timedeltaconvert` -This command converts a duration to a [`timedelta`](https://docs.python.org/3/library/datetime.html#datetime.timedelta) Python object. +This command converts a duration to a [`timedelta`](https://docs.python.org/3/library/datetime.html#datetime.timedelta) Python object.You cannot convert years or months as they are not fixed units. Use `[p]aurora relativedelta` for that. **Example usage** -`[p]timedelta 1 day 15hr 82 minutes 52s` +`[p]aurora timedelta 1 day 15hr 82 minutes 52s` + **Output** `1 day, 16:22:52` + +### aurora relativedelta + +- Usage: `[p]aurora relativedelta ` +- Aliases: `rdc, rd, and relativedeltaconvert` + +This command converts a duration to a [`relativedelta`](https://dateutil.readthedocs.io/en/stable/relativedelta.html) Python object. + +**Example usage** +`[p]aurora relativedelta 3 years 1 day 15hr 82 minutes 52s` + +**Output** +`relativedelta(years=+3, days=+1, hours=+15, minutes=+82, seconds=+52)`