Skip to content
Snippets Groups Projects
Unverified Commit 6e44bf95 authored by BenjaminHelyer's avatar BenjaminHelyer Committed by GitHub
Browse files

Improve documentation for adding datetime and timedelta (gh-95403)

parent 06fc2491
Branches
Tags
No related merge requests found
......@@ -589,8 +589,8 @@ Supported operations:
+-------------------------------+----------------------------------------------+
| Operation | Result |
+===============================+==============================================+
| ``date2 = date1 + timedelta`` | *date2* is ``timedelta.days`` days removed |
| | from *date1*. (1) |
| ``date2 = date1 + timedelta`` | *date2* will be ``timedelta.days`` days |
| | after *date1*. (1) |
+-------------------------------+----------------------------------------------+
| ``date2 = date1 - timedelta`` | Computes *date2* such that ``date2 + |
| | timedelta == date1``. (2) |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment