Commit 4fa63dd
committed
docs: fix incorrect example outputs in addition_subtraction.md
The hours and minutes example outputs in the addition/subtraction
documentation contained three incorrect values:
- add(hours=1) after add(hours=24): '2012-02-25' → '2012-01-29'
- subtract(hours=1): '2012-02-29' → '2012-01-29' (also Feb 29 doesn't
exist in 2012, it's a leap year but still wrong context)
- subtract(minutes=24) after starting at 01:01: '00:00:00' → '00:37:00'
Fixes #9251 parent ae4c405 commit 4fa63dd
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments