You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,9 @@ $ <path>/days_between 2018-01-01 --today # -51 when run on 2018-02-21
57
57
## API
58
58
*`./days_between [<start_date> or --today] [<end_date> OR --offset=integer] [options]`
59
59
60
-
Date format: `YYYYMMDD` or `YYYY-MM-DD`. The output format matches the start date format for offset calculations and can be overridden and customized using the format option.
60
+
Date format: `YYYYMMDD` or `YYYY-MM-DD`.
61
+
62
+
The output format matches the start date format for offset calculations and can be overridden and customized using the format option. If the `today` option is used, the output default format is `YYYY-MM-DD`.
0 commit comments