Browse Source

Arithmetics syntax highlight

pull/135/merge
Jure Šorn 1 month ago
parent
commit
f73254bb49
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -660,7 +660,7 @@ import zoneinfo, dateutil.tz
* **`'%Z'` accepts `'UTC/GMT'` and local timezone's code and returns timezone's name, `'UTC[±HH:MM]'` if timezone is nameless, or an empty string if datetime is naive.**
### Arithmetics
```perl
```python
<bool> = <D/T/DTn> > <D/T/DTn> # Ignores time jumps (fold attribute). Also ==.
<bool> = <DTa> > <DTa> # Ignores jumps if they share tz object. Broken ==.
<TD> = <D/DTn> - <D/DTn> # Ignores jumps. Convert to UTC for actual delta.

Loading…
Cancel
Save