Browse Source

Datetime fix

pull/28/head
Jure Šorn 6 years ago
parent
commit
6ce839b90a
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -484,7 +484,7 @@ import pytz
```
### Encode
```python
```python
<D/T/DT> = D/T/DT.fromisoformat(<str>) # From 'YYYY-MM-DD', 'HH:MM:SS.ffffff[+<offset>]' or both.
<DT> = DT.strptime(<str>, '<format>') # Datetime from string according to <format>.
<D/DTn> = D/DT.fromordinal(<int>) # Date or datetime from days since Christ.

Loading…
Cancel
Save